Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

Tag: Blogger Problems

How to add Adsense In between Posts

This Post has been Requested by Glue on Guerilla v2.2 – Blogger Template . As All of the bloggers also know that one of the most biggest earning thing in blogger is Google’s Adsense. From were Most of the bloggers earn revenue and run  their blogs cost of server or of hosting or domain or for their pocket money. But the most targeted area is the post section but how to add the Ads in Post.
So lets Get Started :

  1. Login to your blogger dashboard
  2. Then Click on Edit HTML
  3. Tick the Expand widget Template
  4. Find for <data:post.body/>
  5. If your template is with Automatic Read More Hack with fixed pages Then Find for this code :

    <b:if cond=’data:blog.pageType == &quot;static_page&quot;’><b:else/>

  6. Add your Adsense code before the above code.
  7. If you Want to display the Ads only on the Post Page then with the Reference to : “How to Show sidebar or widgets only on Home page or Post page“

    <b:if cond=’data:blog.pageType == “item”‘>

    You Adsense Code your

    </b:if>

I think this Must be Enough for now.

July 15, 2010 Ritesh Sanap Blogger Tutorials Adsense, Blogger Hacks, Blogger Problems

Automatic Read More Hack with fixed pages

After a long time the most awaited Blogger feature called static pages or stand alone pages has been launched in drafts . But it has some issues with automatic expandable summaries read more trick for blogspot. With this new code you can minimize your blogger posts so that only some of your description and image appears on the homepage and the rest of all is shown when you visit that post or static page.
you might have familiar with earlier read more hack.

Just Follow this simple steps :

  1. First log in to your blogger account.
  2. Then click on Design Link.
  3. Then Click on Edit HTML.
  4. Check Expand widget content.
  5. Then Search for below code :
    </head>
  6. Add the below code before </head> :
    <script type='text/javascript'>var thumbnail_mode = &quot;no-float&quot; ;
    summary_noimg = 430;
    summary_img = 300;
    img_thumb_height = 130;
    img_thumb_width = 160;
    </script>
    <script type='text/javascript'>
    //<![CDATA[
    function removeHtmlTagundefinedstrx,chop){
    ifundefinedstrx.indexOfundefined"<")!=-1)
    {
    var s = strx.splitundefined"<");
    forundefinedvar i=0;i<s.length;i++){
    ifundefineds[i].indexOfundefined">")!=-1){
    s[i] = s[i].substringundefineds[i].indexOfundefined">")+1,s[i].length);
    }
    }
    strx = s.joinundefined"");
    }
    chop = undefinedchop < strx.length-1) ? chop : strx.length-2;
    whileundefinedstrx.charAtundefinedchop-1)!=' ' && strx.indexOfundefined' ',chop)!=-1) chop++;
    strx = strx.substringundefined0,chop-1);
    return strx+'...';
    }
    function createSummaryAndThumbundefinedpID){
    var div = document.getElementByIdundefinedpID);
    var imgtag = "";
    var img = div.getElementsByTagNameundefined"img");
    var summ = summary_noimg;
    ifundefinedimg.length>=1) {
    imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"></span>';
    summ = summary_img;
    }
    var summary = imgtag + '<div>' + removeHtmlTagundefineddiv.innerHTML,summ) + '</div>';
    div.innerHTML = summary;
    }
    //]]>
    </script>

    <script type='text/javascript'>var thumbnail_mode = &quot;no-float&quot; ; summary_noimg = 430; summary_img = 300; img_thumb_height = 130; img_thumb_width = 160; </script> <script type='text/javascript'> //<![CDATA[ function removeHtmlTagundefinedstrx,chop){ ifundefinedstrx.indexOfundefined"<")!=-1) { var s = strx.splitundefined"<"); forundefinedvar i=0;i<s.length;i++){ ifundefineds[i].indexOfundefined">")!=-1){ s[i] = s[i].substringundefineds[i].indexOfundefined">")+1,s[i].length); } } strx = s.joinundefined""); } chop = undefinedchop < strx.length-1) ? chop : strx.length-2; whileundefinedstrx.charAtundefinedchop-1)!=' ' && strx.indexOfundefined' ',chop)!=-1) chop++; strx = strx.substringundefined0,chop-1); return strx+'...'; } function createSummaryAndThumbundefinedpID){ var div = document.getElementByIdundefinedpID); var imgtag = ""; var img = div.getElementsByTagNameundefined"img"); var summ = summary_noimg; ifundefinedimg.length>=1) { imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"></span>'; summ = summary_img; } var summary = imgtag + '<div>' + removeHtmlTagundefineddiv.innerHTML,summ) + '</div>'; div.innerHTML = summary; } //]]> </script>

  7. Then Find this <data:post.body/>
  8. Then Replace <data:post.body/> with the below code :
    <b:if cond='data:blog.pageType == &quot;static_page&quot;'><b:else/> <b:if cond='data:blog.pageType != &quot;item&quot;'>
    <div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
    <script type='text/javascript'>createSummaryAndThumbundefined&quot;summary<data:post.id/>&quot;);
    </script> <span class='rmlink' style='float:right;padding-top:10px;'><a expr:href='data:post.url'><img src='http://i37.tinypic.com/351icqx.jpg'/></a></span>
    </b:if></b:if>
    <b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if><b:if cond='data:blog.pageType == &quot;static_page&quot;'><data:post.body/></b:if>

    <b:if cond='data:blog.pageType == &quot;static_page&quot;'><b:else/> <b:if cond='data:blog.pageType != &quot;item&quot;'> <div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div> <script type='text/javascript'>createSummaryAndThumbundefined&quot;summary<data:post.id/>&quot;); </script> <span class='rmlink' style='float:right;padding-top:10px;'><a expr:href='data:post.url'><img src='http://i37.tinypic.com/351icqx.jpg'/></a></span> </b:if></b:if> <b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if><b:if cond='data:blog.pageType == &quot;static_page&quot;'><data:post.body/></b:if>

  9. Then Click on Preview if no error occurs then just click on save.

Customization :

Now let us see how to customize the code to suit your style :

  • summary_noimg = 500 ;
  • This code will decide how much characters must be shown in the post if that post doesn’t contain any images. I have selected 500 characters.. you can customize it to suit ur template.

  • summary_img = 400 ;
  • If the post contains image , then this code will decide how many characters must be shown in that post. Change the number of characters to be shown to suit your template.

  • img_thumb_height = 130;
  • This tag decides the height of the thumbnail to be shown in the post. Vary the number 130 to suit your template.

  • img_thumb_width = 281 ;
  • This tag decides the width of the Thumbnail image to be shown

Changing Read More Image :

1. Find this :

http://i37.tinypic.com/351icqx.jpg

2. Change it to your desired image you want.

Having Text Instead Image :
1. Find this :

<img src=’http://i37.tinypic.com/351icqx.jpg’/>

2. And Replace it with the desired text you want to use.

May 29, 2010 Ritesh Sanap Blogger Tutorials Blogger Hacks, Blogger Problems

Blogger Showing Bx Error? What To Do? (Complete Solution For Fix Bx Error In Blogger)

Today When I am Customizing Best2know.info Blogger Showing This bx-gkpps Error.Then I am Trying To Solve it And If You Have Blog On Blogger Then you might have face any bx error so i am Sharing this solution on how to slove bx errors in blogger blog.

Step To Solve Bx Errors In Blogger Blog :-

1. Change the browser. Simply, try the same thing from different browser (Opera recommended)
2. Delete all the widgets of your current template before uploading a new one (ofcourse, make a backup).
3. Delete Browser cookies and try again.
4. Remove widget codes manually of the template you are trying to install. For example : from to
5.  Just wait for sometime and try later.
6. Contact Blogger if it continues.

Then You Are Done

Keep Visiting And Subscribe For Other Latest Blogger Hacks,Blogger Tips,Blogger Seo And Much More.

May 10, 2010 Ritesh Sanap Blogger Blogger Hacks, Blogger Problems

Currently Trending

  • How to download Specific parts of YouTube videos
    How to download Specific parts of YouTube videos
  • Windows Vista CD key
    Windows Vista CD key
  • How to retrieve my Demonoid username
    How to retrieve my Demonoid username
  • How to add Logo to Thesis theme
    How to add Logo to Thesis theme
  • How to Delete Feedbacks from JetPack Contact Form
    How to Delete Feedbacks from JetPack Contact Form
  • List Of All 255 Keyboard All Alt Key Codes
    List Of All 255 Keyboard All Alt Key Codes
  • h4x0r ( Hacker ) - Blogger Template
    h4x0r ( Hacker ) - Blogger Template

Get Latest post in your Inbox

Random Posts

Happy Birthday

July 6, 2010 By Ritesh Sanap Leave a Comment

How to create/Make Secret group in FaceBook

June 1, 2011 By Ritesh Sanap 6 Comments

Make Mozilla Run At Blazing Speed

December 17, 2007 By Ritesh Sanap Leave a Comment

Chit Chat for Facebook

December 3, 2010 By Ritesh Sanap Leave a Comment

Make IE FAster

January 16, 2008 By Ritesh Sanap Leave a Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2025 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean