Relates Posts Widget For Blogger

Now i'd like to talk about Related Posts Widget For Blogger. This widge will load related posts to show below every post in your blog. To know how will it look like, you can check related post widget exists on this page, Just scrool down your mouse.

Actually i have two scripts to show related posts on blogger, but for now i'll share only for the one.

Well, let's go down to the bussiness

1. Find the closing tag </head> in your template and put the following code above it:



2. Find the following script:

<b:if cond='data:post.la bels'><data:postLabelsLabel/> <b:loop values='data:post.labels' var='label'> <a expr:href='data:label.url' rel=' tag'><data:label.name/></a><b:if cond='data:label.isLast! = "true"'>,</b:if> </b:loop> </b:if> </font>

First, try to search for data:post.labels

3. Replace the above script with the following:

5. Save your template and you're done.

0 comments:

Post a Comment