Show related Posts in Blogger

November 15th, 2008 by admin | Filed under Blogger.
ads

Its essential tactic to show related Posts in Blogger , to improve usage statics and page views . If a definite number of related articles are shown at the bottom of each posts,there is chance for the reader to click on those links and head over to the next page . Related posts widget on Blogger depends on how you name your post labels .

127 show%2Brelated%2Bposts%2Bin%2BBlogger Show related Posts in Blogger
Here’s how you can do that ,
1. Open your Blogger template’s Layout and select Edit HTML .
2. Download full template for future use .
3. Click on expand widgets templates.
4. Press Cntrl+F and search for tag and insert the following script above that line .
Download
5. Similar to step 4 , find out section .<p><data:post.body/></p> . Anything you post under this line would appear at end of each posts.
6. Now paste the following code below that line .
Download
7. Save your template

Now if everything went fine , your post pages would show related articles depending on the applied label.You can customize the color and font size of the widget by editing the bold elements in the CSS code(download 1).

#related-posts .widget h2, #related-posts h2 {
color : #333333;
font-size : 13px;
font-weight : normal;
margin : 5px 7px 0;
padding : 0 0 5px;
}

The default number of related posts are 5 as set on the code . You change it by editing max-results=5 in the JavaScript ( download 2) code to a suitable value .

Credits: Rias

Related Posts

ads

Enter your Email Address:

Tags:

Comments

2 Responses to “Show related Posts in Blogger”
  1. M N H says:

    HI admin…its working…………

  2. skmania says:

    thanks buddy..your trick is working fine in my blog…

Have any comments?