Related Posts Widget for Blogger / Blogspot with jQuery..

            Related posts widget is very important for a blog, because it increases the number of page views and also help the visitor to view other posts related to blog. Now here is wonderful trick to display links to related posts beneath each posts. At their blogs today there are many types of related post widget, and related items thumbnail images using HTML, Java script, etc. .. Here I will show a method that is easy to show install.It only title jQuery.It related post widget will look like a picture below.

Related Posts Widget For Blogger




Beautiful related posts text widget with hover effect for blogger


How to add HTML-CSS-Javascript Codes to your Blog ? 

This is very simple and easy you only follow below steps and add this widget in your blog.

Step 1 Log-in to your Blogger account.

Step 2 Backup your Template.

Edit Template HTML



Step 3 Click on The Template>> Edit HTML>> Proceed.

Step 4 Now find [by pressing Ctrl + F ] this code in the template:

<div class=’post-footer-line post-footer-line-1’/>


If you cant find it then try finding this one

<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 immediately Below/After it, paste this code:


Style 1:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-1.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..


Simple And Stylish “Related Posts” Text Widget For Blogspot

Change Code with The One You Like Bellow


Style 2:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-2.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..






Style 3:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-3.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 4:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-4.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 5:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-5.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 6:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-6.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 7:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-7.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 8:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-8.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 9:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-9.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..





Style 10:-

Related Posts Widget



<script src=’http://24work.ucoz.com/24work-blogspot/related-posts/related-posts-min-1.js&#8217; type=’text/javascript’/><link href=’http://24work.ucoz.com/24work-blogspot/related-posts/css/related-posts-min-10.css&#8217; rel=’stylesheet’ type=’text/css’/><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Blogger Tips And Tricks’><img alt=’Blogger Tips And Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%; top: 0px;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips For Bloggers’><img alt=’Latest Tips For Bloggers’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; right: 0%;’/></a><a href=’http://24work.blogspot.com/&#8217; rel=’dofollow’ target=’_blank’ title=’Latest Tips and Tricks’><img alt=’Latest Tips and Tricks’ border=’0′ src=’https://bitly.com/24workpng&#8217; style=’position: fixed; bottom: 10%; left: 0%;’/></a><b:if cond=’data:blog.pageType == &quot;item&quot;’><div id=’related-posts’><b:loop values=’data:post.labels’ var=’label’><b:if cond=’data:label.isLast != &quot;true&quot;’></b:if><b:if cond=’data:blog.pageType == &quot;item&quot;’><script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ 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=&quot;<data:post.url/>&quot;;
var maxresults=5; <!– Increase To Show More Then 5 Related Post –>
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>







………………………..


………………………..



Optional Customizations

You can adjust the maximum number of related posts being displayed by editing this line in the code.

var maxresults=5;


show the text ‘Related Topics’ on title.

<h2 class=’title’ style=’color:#fff;background-color:#000;width:150px;’>Related Topics</h2>



Advertisements

About M.Ali

Hi i am currently working as a Graphic Designer at Art Communications, i love blogging and visiting new places i like you all to be a part of my informative blog.

Posted on October 7, 2013, in Bloggers and tagged , , , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s