![]() |
| Create Related Posts Widget For Blogger |
Now we're going to talk about making a related blogger post widget. Related posts widget is very important to the blog because it increases the number of page views and also helps the visitor view other blog posts. Now here's a wonderful trick to display links to related posts under each post. There are many types of post widgets related to their blogs today, including thumbnails.
Awesome text widget related posts with blogger effect
This is the process to add HTML-CSS-Javascript Codes into your awesome blog.
You only follow the steps below and that's very quick and easy to add.
Step 1 Log-in to your Blogger account.
Step 2 Backup your Template.
Step 3 Click on The Template>> Edit HTML>> Proceed.
Step 4 Now find this file in template [by pressing Ctrl + F]:
<div class='post-footer-line post-footer-line-1'/>If you can't find this one then try to find it;
<p class='post-footer-line post-footer-line-1'/>or;
<div class='post-footer-line post-footer-line-2'/><div class='post-footer-line post-footer-line-3'/></div></div>
And paste this code immediately Below / After that:
Optional:
<script src='http://24work-new.googlecode.com/svn/trunk/24work-blogspot/related-posts/related-posts-min-1-ycode.js' type='text/javascript'/><link href='http://24work-new.googlecode.com/svn/trunk/24work-blogspot/related-posts/related-posts-min-1.css' rel='stylesheet' type='text/css'/><b:if cond='data:blog.pageType == "item"'><div id='related-posts'><b:loop values='data:post.labels' var='label'><b:if cond='data:label.isLast != "true"'></b:if><b:if cond='data:blog.pageType == "item"'><script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels&max-results=5"' type='text/javascript'/></b:if></b:loop><h2 class='title' style='color:#fff;background-color:#000;width:150px;'>Related Topics</h2><script type='text/javascript'>var currentposturl="<data:post.url/>";var maxresults=5; <!-- Increase To Show More Then 5 Related Post -->removeRelatedDuplicates(); printRelatedLabels();</script></div></b:if>
By editing the line in the code, you can change the maximum number of related posts displayed.
max-results=5and also;
var maxresults=5;show the text 'Related Topics' on title.
<h2 class='title' style='color:#fff;background-color:#000;width:150px;'>Related Topics</h2>I hope it will help you and improve your blog design.

3 Comments
Post widget is awesome!
ReplyDeleteCreate your own style...
DeleteFinding Swasthya is a company that specialises in ayurvedic consultation. Our services have been available for many years. We have a team of professionals who can assist you with ayurvedic massage. Allergies, asthma, arthritis, digestive problems, diabetes, chronic tiredness, autoimmune disorders, infertility, insomnia, joint and back pain, hormone problems, skin disorders, stress and anxiety, thyroid disorders, and weight problems can all be treated with Ayurveda. Please contact us at 7870244923 for further information.
ReplyDelete