How to Add Automatic Read More Hack For Blogger With Thumbnail
Wednesday, 8 August 2012 -
blogger widgets
No comments



Automatic Read More Hack For Blogger With Thumbnails, In every time you create post and add a jump link to post this means Jump link will display full post in post page only.
In other pages it show summary that you select and image if any. In every time you choose some summary. But with this hack you just don’t need to locate your image and summary, the script will do all work automatically.Just you have to write your post and publish it with one image in post. If your post not containing any image this will show only summary.
Now how to install Automatic Read More Hack For Blogger With Thumbnails
Note: Backup your template Before applying this hack
Installation:-
- Login to Blogger Dashboard
- Go to Design Section
- Select Edit HTML tab
- Check Expand Widgets ( i.e Tick Expand Widgets check box )
- Find the closing
</head>
tag - Replace it with bellow Code
# in above codes we can change the numeric numbers according to our use<script type='text/javascript'>
var thumbnail_mode = "no-float" ;
summary_noimg = 430;
summary_img = 340;
img_thumb_height = 100;
img_thumb_width = 120;
</script>
<script type='text/javascript' src='http://bloggerblogwidgets.googlecode.com/files/auto_readmore_blogger.js' ></script>
</head>summary_noimg = 430; :Summary length if no image summary_img = 340; :Summary length if it has image img_thumb_height = 100; :Thumbnail image height img_thumb_width = 120; :Thumbnail image width - Now find this
<data:post.body/>
tag in your template and replace it with below code.<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
<b:else/>
<b:if cond='data:blog.pageType == "static_page"'>
<data:post.body/>
<b:else/>
<div expr:id='"summary" + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>
createSummaryAndThumb("summary<data:post.id/>");
</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>
</b:if>
</b:if> - Finally Save your template and check your blog
Your comments are always appreciated except Spam comments
0 comments:
Post a Comment