In This Tutorial you can learn on how to add Post Summary Widget in your Blogspot Website.
Step 1: Before We Start, Please Save your Template First (for back-up purposes).
Go to Design - Edit html - Check Expand Widget Templates.
Ctrl+F Find </head>
Copy The Code Below and Replace </head>.
<script type="text/javascript">Step 2: Ctrl + F to Find <data:post.body> and Replace with the code below.
var thumbnail_mode = "float" ;
summary_noimg = 230;
summary_img = 140;
img_thumb_height = 100;
img_thumb_width = 100;
</script>
<script src="http://wiseblogger.googlecode.com/files/postsummary.js" type="text/javascript"></script>
</head>
<b:if cond='data:blog.pageType == "item"'>Then Save Template
<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>
<span style='padding-top:5px;;float:right;text-align:right;'><a expr:href='data:post.url' rel='bookmark'><b>Read more >></b></a></span>
</b:if>
Customization:
- You Can change Read More to Continue Reading or Image like this-->
<img src="http://2.bp.blogspot.com/-K78cRAc3VBg/TaAkHGVb9DI/AAAAAAAAAbw/O6vsdCYdEyM/s1600/read_more.gif" />
- You Can Also Change the number of Character Display and the size of the image at the Step 1 Code.
summary_img = 140; Character Display
img_thumb_height = 100; Image Display
img_thumb_width = 100; Image Display
Digg It
Stumble It
Twit This
Save This Page
What's Next?




Comments :
Post a Comment