Tuesday, January 15, 2013

How to Add the new Blogger Related Posts To Your Blog

How to Add the new Blogger Related Posts To Your Blog
Displaying Related Posts below each post on your blog are so importance.
Displaying a list of Related Posts not only keeps readers on your blog clicking through your archive but they are also crawled by search engines.
But to get readers clicking through the related posts you need them to be eye catching and that's where the related posts with thumbnails works so well.
The related posts with thumbnails lists a selected number of posts and also grabs an image from each posts to display.
The gadget we have in this post is similar to the popular Link Within Related posts but with some great extra features and options.

Thumbnail and the Tittle have been resized, so you can display more posts.
Related Post Link Within Limits you to 5 posts with this gadget you can show as many as you like.
This related posts gadget displays related posts using the labels, so it will list posts with the same labels as the posts it is below.
You can add some extra customizations to this gadget and i will list them below the tutorial.

Live Demo - You can see this Gadget below all posts on my blog.

Add The new Blogger Related Posts To Your Blog

Step 1. In your Blogger Dashboard Click > Design > Edit Html > Tick The Expand Widget Templates Box

Step 2. Find the following code

Step 3. Copy And Paste The Following Code Directly Above / Before </head>

<!--Start Related Posts Script -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts {

#related-posts h2{
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
#related-posts a{
#related-posts a:hover{

#related-posts a:hover {
<script type='text/javascript'>
var defaultnoimage=&quot;http://4.bp.blogspot.com/_rKG-ziTSNUQ/TQjMBwjYg5I/AAAAAAAACgc/BT3MbSXKv1g/s1600/No+Image.jpg&quot;;

var maxresults=10;
var splittercolor=&quot;#d4eaf2&quot;;
var relatedpoststitle=&quot;Related Posts&quot;;
<script src='http://yourjavascript.com/22811210832/RelatedPoststhumb3.txt.js' type='text/javascript'/>
<!--End Related Post End-->

Note - Change maxresults=10 in red above to the number of posts you want displayed.
Note 2 - You can change the title above the gadget, it is currently Related Posts.
Simply Change the text In blue above.

Step 4. Now Find the following
<div class='post-footer'>

Note - If you cant find that find and use <data:post.body/>

Step 5. Copy And Paste The Following Code Directly Below Under <div class='post-footer'>

<!-- start related posts-->
<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;'>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=6&quot;' type='text/javascript'/></b:loop>
<script type='text/javascript'>
</div><br/><a href='http://masihpopuler.blogspot.com/2013/01/how-to-add-new-blogger-related-posts-to.html' target='_blank'><font color='#ccc' size='small'>Best Blogger Gadgets</font></a><div style='clear:both'/>
<!-- end related posts-->

Step 6. Now Save Templates

Artikel Terkait

How to Add the new Blogger Related Posts To Your Blog
4/ 5


Suka dengan artikel di atas? Silakan berlangganan gratis via email