Saturday, August 17, 2013

How To Add Auto Read More To Blogger Posts

Why Add Read More Button ?

Why to add read more button ? Answer is here. Just go to any website that you know and search for content which you want,obviously the site will contains some any other material and you are getting down and down to find your content. If the admin of that website was added a read more button to poss then you will definitely find which you want.


Click Here For An Updated Post

How To Add Auto Read More Button ?


1. Log in to your dashboard--> layout- -> Edit HTML
2. Click on "Expand Widget Templates"
3. Scroll down to where you see </head> tag.
4. Now add below code just before </head> tag.

<script type='text/javascript'>
var thumbnail_mode = &quot;float&quot; ;
summary_noimg = 230;
summary_img = 140;
img_thumb_height = 100;
img_thumb_width = 100;
</script>
<script src='http://keerthiset2.110mb.com/excerpt.js' type='text/javascript'/>

Note : You can change above value as your choice.

5.Now find <data:post.body/>

6.Replace above code with below code.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<data:post.body/>
<b:else/>
<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>
<div style='clear: both;'/>
<span style='padding-top:5px;;float:right;text-align:right;'><a expr:href='data:post.url' rel='bookmark'><b>Reade More >></b></a></span>
</b:if>


7.Now save your template and you are done.


Please comment on this tutorial if you found any fault in this tutorial, Also tell me if you can't add auto Read More button to your blog.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home