How to Use Read More Option with Thumbnail on Blogger/Blogspot?

23

Read More Option with Thumbnail hack is far better than Blogger’s default jump break option because it automatically creates a summary of posts on archive pageType and index pageType i.e. home page, label page and search result page with standard defined thumbnail size and words length. One more best feature of this hack is you can skip any number of posts on the home page that you need not shorten i.e. if you want you can show any number of a full post on the homepage. It gives a very professional look to your blog. Most of the professional Bloggers have already adopted Read More Option with Thumbnail hack for their blogs and this trick is not unknown to you. But the best thing is this it is available to you now. My belief is that you’ll try and use on your blogs.

Main features of ‘Read More Option with Thumbnail’ hack for Blogger

1/ You can show default thumbnail when your post does not contain any image.
2/ You can disable auto read more function for few posts on the home page.
3/ You can disable auto read more function on the home page, archive page, and other index pageType.

Read more option with thumbnail

Using Read More Option with Thumbnail on Blogger version 2

1/ First go to Blogger Dashboard then switch to the Template tab
2/ Must take the backup of your template
3/ Now click on Edit HTML and then on Proceed button
4/ Now check on Expand Widget Template
5/ Now search for </head> inside Blogger template
6/ Now copy and paste the code given below just above </head>

<script type='text/javascript'>
var summaryConf = {
showImage: true,
imgFloat: 'left',
imgWidth: 120,
imgHeight: 120,
defaultThumb: 'https://3.bp.blogspot.com/-RHI16xnGGw0/UyRl8A6Y3jI/AAAAAAAAM6g/b6wZoVza7J4/s1600/thumb.png',
words: 100,
wordsNoImg: 120,
skip: 0,
showHome: true,
showLabel: true
};
</script>
<script src='http://yourjavascript.com/55335021413/techprevue-readmore.js'/>

Note: If possible please download and host javascript in your own Google Project or Dropbox to prevent bandwidth issues
https://sites.google.com/site/techprevue/home/techprevue-autoreadmore.js

7/ And after finishing, steps now search for the following the code

<div class='post-body entry-content'

just below this, you’ll get the following code

<data:post.body/>

8/ Change this <data:post.body/> code with the following code

<span expr:id='data:post.id'><data:post.body/></span>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<script type='text/javascript'>summary(&quot;<data:post.id/>&quot;)</script>
<span style='float:right;padding-top:12px;'><a expr:href='data:post.url'>Read More</a></span>
<b:else/>
<b:if cond='data:blog.pageType == &quot;archive&quot;'>
<script type='text/javascript'>summary(&quot;<data:post.id/>&quot;)</script>
<span style='float:right;padding-top:12px;'><a expr:href='data:post.url'>Read More</a></span>
</b:if>
</b:if>

and now preview your template if everything is appearing well then Save template.

Auto read more script control features:

  • showImage: true, if do not want to show thumbnail then do it ‘false’
  • imgFloat: ‘left’, if you want to show thumbnail right to summary then do it ‘right’
  • imgWidth: 120, This is thumbnail width in pixel
  • imgHeight: 120, This is thumbnail height in pixel
  • defaultThumb: ‘http://3.bp.blogspot.com/-RHI16xnGGw0/UyRl8A6Y3jI/AAAAAAAAM6g/b6wZoVza7J4/s1600/thumb.png’, if you want to use the custom thumbnail as per your blog design just change this URL
  • words: 100, this is a number of words for a summary of index pageType in presence of a thumbnail
  • wordsNoImg: 120, this is a number of words for a summary of index pageType in absence of thumbnail
  • skip: 0, if you want to read more function on all posts then leave it as it is, if want to skip first do it ‘1’ or for two posts do it ‘2’ and so on…
  • showHome: true, if you do not want to read more function on the home page, do it ‘false’
  • showLabel: true, if you do not want to read more function on the label page, do it ‘false’

On this blog, I use this script. You can visit the homepage and label page for demo purpose.

23 COMMENTS

  1. Hi,

    I tried but it is not working. Should I remove the stock JumpLink widget before incorporating your script. Please do let me know. Thanking you in Advance.

  2. Thank you! its totally working!
    But bro, How do i make the thumbnail image clickable?
    it should go to the post as it was by default before.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.