Related Posts Widget for Blogger (Blogspot)


Valid until 31 January 2015 (unless noted)
After we learn about how to add save as PDF button, now we will learn about how to add related posts on blogger. Many thanks for Fatihsyuhud and SnapHow.Com author, blogger experts who willing to share experiences and provide a tutorial to create a related posts widget for blogger / blogspot users. I found it is easy to implement in my blog, I have tried this method and it works well :)

Related posts widget is important for your blog. Actually, its main objective is to provide your visitors an easy navigation when they open your web page and want to find more interesting articles in your blog. If they find some interesting links (in your related posts), they will visit to other pages within your blog, thus it will increase their "time on site". It will also increase your pages CTR (Clicks Through Ratio), means more page impression for adsense.

In this tutorial we will learn how to install related posts below the post content, just follow to this steps:

1. Log in to your blogger account
2. Go to Layout Section - Edit HTML (download your template before make some changes)
3. Click Expand Template Widget
4. Find (Ctrl-F) this code
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

5. Copy this code <div id='related_posts'/> and paste it after this code
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

6. So, the result will be look like this :
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

<div id='related_posts'/>

<div class='post-footer'>

7. Copy this code
<script src='http://www.google.com/jsapi'></script>
<script src='http://brps.appspot.com/brps.js' type='text/javascript'/>

8. Paste it before </body>
9. Save your template and see the result.

If everything goes smooth, the result will be look like this:

Related Posts Blogspot

You can see that the default settings will show default title "Related Posts" and it shows maximum 10 related posts. You can customize the title and set the total related post whatever you like.


Customizing Title and Number of Posts

Change the original code (in point 7),
<script src='http://www.google.com/jsapi'></script>
<script src='http://brps.appspot.com/brps.js' type='text/javascript'/>

with this code :
<script src='http://www.google.com/jsapi'></script>
<script type="text/javascript">window.brps_options = { "title": "<h2>Related Articles!</h2>" "max_results": 5 }</script>
<script src='http://brps.appspot.com/brps.js' type='text/javascript'/>

You can change the title (marked with red color) and change the number of related posts (marked with green color)

Save your template and see the result... Enjoy your related posts blogger widget, happy blogging :)

21 comments:

Reverse Phone Directory said...

Very awesome feature that I have not seen before.

Tutorial Hack Facebook said...

Thanks infonya !!! namun kayaknya lebih praktis pake daftar isi bro !!! ...

smangadh blogging iya ... ^_^

ALUNAN OMBAK said...

... useful knowledge...

Unknown said...

kjgn blk

Arief said...

I try first pren..;;)

nationalinks said...

bagus tutor nya

Meryl (proud pinay) said...

thank you for sharing this interesting article angga! ^_^ have a great weekend ahead

Kontes SEO Aristia Wida Rukmi said...

artikel terkait iah sobat, perlu di coba nih.

Kontes SEO Aristia Wida Rukmi | Kontes SEO Aristia Wida Rukmi | Rusli Zainal Sang Visioner | Rusli Zainal Sang Visioner

Rusli Zainal Sang Visioner said...

Very nice, plain english.. I've applied it, thanks..

bro, mau tukaran link? saya kasih link dari blog berpr 4, ditunggu jawabannya..

dhimas said...

useful posting, keep going healthlovemoneyand family

Blogger Ceria said...

thx sob for the tutor... :)

Tipspack said...

Ada AWARD buat kamu, Mohon diterima ya... :)

Anonymous said...

hi! i like this template..... It's a wonderful template.... more templates easy to download

learn-blogging-tips said...

I like your design and post format...thanks for sharing this wonderful feature...

good luck for future as well.

kwangkxz said...

Good and useful info about widget, thanks for share

pixelshots said...

so sorry frnd.. it haven't worked for me..dnt know why.. have followed as u said.. anyway i have a link in thumbnail widget below posts..
nice work frnd..
cu arnd

angga said...

hi pixelshots
I guess it is work on your blog. I take a snapshot of your blog
Please look at this link
This is Your Related post

Eko trantoro said...

Mampir aja,mau komen apa binggung ngak bisa bahasa inggris..he..he..

matalic said...

thank you man for the widget
but the title did not changed!
what can i do ?
and thank you again

black said...

don't work with me error message
Unable to get related posts
help

Unknown said...

the code is working anymore, are there any new code??

Post a Comment

Rules:
Comment must be in English, otherwise will be not listed.
Spam comment will be deleted, so don't waste your time for it.
Respect yourself, respect others.