Related Entries in Blogger with three line of codes Embedded in Blogspot Blogger Platform


For Blogger Platform.



Preview of function.


There are many ways to show 'Related Entries' or 'Related Posts' for blogger platform, like the one I have on my blog. Most of them require lot of changes in the template code.


Here is an excellent solution which only involved 3 lines of code to be embedded within the template. Let's start how to implement this excellent way to show related posts in blogger.



Step 1:

Open your Blogger Layout>>Edit HTML>>Expand Widget Templates

<*div class='post-footer-line post-footer-line-3'/>

...

<*/div>


Step 2:

Add this line of red code below the code in step 1

<*div class='post-footer-line post-footer-line-3'/>

...

<*/div>

<*div id='related_posts'/>



Step 3:
Find for <*/body> at footer
put the following code before it
<*script src='http://www.google.com/jsapi'/>
<*script src='http://brps.appspot.com/brps.js' type='text/javascript'/>
<*/body>


Remove all the *, as the * use here for is for posting purpose to avoid the code run.


0 comments: