Latest: Download Free Desktop Wallpapers of Chef Loony! | Series: AuthorRank? | Download MBT eBooks!

How to Add Automatic Read More TRICK for Blogger Blogs

0 comments
How to Add Automatic Read More HACK for Blogger Blogs
Read More button or jump link is used cut the full article into two pieces and First piece of Text and images display in the Homepage. When you create a post may be it includes long snippets and images that are too long, then what should you do? You have to add <!-- more --> or click on Jump link to separate. Here I am going to show you how to Automatically put read more to Blogger posts. In this Automatic read more hack everything is automatic and you need not bother about the too long length of posts.Let us see how to do it..


 Features are
  • You can also limit the length of post
  • Set the size of Image, height and width separately
  • Disable Image
  • Sign In to Blogger Dashboard
  • Go to Template -> Edit HTML
  • Find </head>
  • copy the following code above it
<script type='text/javascript'>
var thumbnail_mode = "no-float" ;
summary_noimg = 400;  /* Summary length if no image*/
summary_img = 300; /* Summary length with image*/
img_thumb_height = 200; /*Image Height*/
img_thumb_width = 200; /*Image Width*/
</script>
<script type='text/javascript' src='http://netoopscodes.googlecode.com/svn/branches/Js%20files/auto-readmore-blogger.js' ></script>
If you add CSS codes to style jump link in your blog, then See the Update
  • Then Find (Ctrl+F)  <data:post.body/> and replace it with the following code
  • If you find more than one <data:post.body/> replace all occurrences.
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<data:post.body/>
<b:else/>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<data:post.body/>
<b:else/>
<div expr:id='&quot;summary&quot; + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>
createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);
</script>
<div style='clear: both;'/>
<span class='rmlink' style='font-weight:bold;padding:5px;float:right;text-align:right;'><a expr:href='data:post.url' >Read more...</a></span><a href="http://netoopsblog.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46STWX2g51x2-ZHiQKDemjDRjOeiyxjYYfGIkiF1uU5wXmxOyG8kQOiVEo6FqD9fl_7gEvl5z5hCDE2kMPSjmiEYZzDzMtASXJ9IivRculkMMRY-_V2vYlNfCQAiZhj4zyts4ehD8j8U/s1600/1x1juice.png"></a>
</b:if>
</b:if>
  •  Save Template.

UPDATE [17.08.2013]

     In the above code, only a simple link to the post shows in the homepage. If you want to style that link or did you add css codes to style the jumplink, then add the following code instead of the above.
    • Then Find (Ctrl+F)  <data:post.body/> and replace it with the following code
    • If you find more than one <data:post.body/> replace all occurrences.
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <data:post.body/>
    <b:else/>
    <b:if cond='data:blog.pageType == &quot;static_page&quot;'>
    <data:post.body/>
    <b:else/>
    <div expr:id='&quot;summary&quot; + data:post.id'>
    <data:post.body/>
    </div>
    <script type='text/javascript'>
    createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);
    </script>
    <div style='clear: both;'/>
    <div class='jump-link'><a expr:href='data:post.url' expr:title='data:post.title' >Read more...</a></div><a href="http://netoopsblog.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46STWX2g51x2-ZHiQKDemjDRjOeiyxjYYfGIkiF1uU5wXmxOyG8kQOiVEo6FqD9fl_7gEvl5z5hCDE2kMPSjmiEYZzDzMtASXJ9IivRculkMMRY-_V2vYlNfCQAiZhj4zyts4ehD8j8U/s1600/1x1juice.png"></a>
    </b:if>
    </b:if>

    Congratulations, You have done the Hack to your Blog. I think you enjoyed this article.

    No comments:

    ctika

    adserum 2

    adserum 1

    • MBT Icons and buttons

      Icons and Buttons

      Our resources have been successfully downloaded over 10K times and found almost every where. Get yours!

    • choosing webhost for a blog

      Why HostGator?

      Learn Why we chose HostGator as our Web Host and find discount coupons to kick start your blog today!

    • SEO Settings for blogger

      ALL IN ONE SEO PACK 2012

      Learn every single SEO tip that will boost your blog's ranking and organic traffic. We got them all!

    • Blogger widgets and plugins

      Visit MBT's Blogger LAB

      Why not take a tour of all great Blogger widgets published so far? You Name it we have it!

    • become a six figure blogger!

      Become a SIX FIGURE BLOGGER

      Learn what it takes to become a successful entrepreneur and build a living online!