Add Auto read blogger feature for Blog templates

Deal Score0

Auto read more blogger Feature :

 
 
Add auto read more blogger feature to blogger template using simple code. Today when i open tutskit i have seen auto read more was not working, so i uploaded the javascript in google code.So that it will load fast as it was hosted by google.
 
1.First, Log in to your dashboard.Go to templates and  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 = 330;summary_img = 240;img_thumb_height = 200;img_thumb_width = 200;</script><script src=”http://tuts-kit-blog-autoread.googlecode.com/files/auto_readmore_blogger.js” type=”text/javascript”>

Note : You can change above value as your choice.
 
5.Now Scroll down to where you see this:
 
 

<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’>createSummaryAndThumb(&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 follow and like us:
0

We will be happy to hear your thoughts

Leave a reply