How to Add Related Posts and Bookmarks to Your WordPress Blog



This is a guest post written by Kumar Saurav aka Diesel of YabBLOG where he writes about Technology, Linux, Softwares. Do visit his blog for some great tips or Subscribe to keep yourself updated.

Screenshot

Keeping it clean and simple is the what every blogger should keep in mind. This tutorial will help you to do that. A list of related posts and bookmark after every post might help boost your traffic. Here is a guide to help you create it for your WordPress blog.

1. Download wp_related_posts plugin
2. Upload it to your “/wp-content/plugins/” folder
3. Activate the plugin through the ‘Plugins’ menu in WordPress
4. Navigate to Manage > Option > WordPress Related Posts to configure plugin output as in the screenshot shown below

screenshot-2

5. Now open Design > Theme Editor > Single Post.php
6. Find “<?php the_content(‘Read the rest of this entry »’); ?>” or somthing similar
7. Paste the following code for Related post

<div style=”float:left”>
<?php wp_related_posts(); ?>
</div>

8. Now paste the following code for Bookmark

<div style=”float:right;margin-left: 0px; margin-right: 70px;”>
<div>
<h3>Bookmark</h3>
<ul>
<li><a href=”http://del.icio.us/post?url=<?php echo the_permalink(); ?>”>Del.icio.us</a></li>
<li><a href=”http://digg.com/submit?url=<?php echo the_permalink(); ?>”>Digg</a></li>
<li><a href=”http://www.stumbleupon.com/submit?url=<?php echo the_permalink(); ?>”>StumbleUpon</a></li>
</ul>
</div>
</div>

And we are done with our new Clean and Simple Related Posts and Bookmarks. Hope this might increase your blog traffic.

13 Comments

  1. saurav says:

    Thanks for including my post
    🙂

  2. Shoban says:

    Simple tags is a very good plugin for doing this!!! Have you tried it?

  3. Nihar says:

    Nice tip. I have related post but not bookmark on the right. It is good to put both side by side.

  4. Pavan Kumar says:

    It would be definitely useful for a newbie… But most of the themes come integrated with all these…

  5. Bobby Revell says:

    Hi Madhur! Very cool post, especially the part about bookmarks.

  6. Nirmal says:

    Good tutorial especially for beginers.

  7. SEO forums says:

    is there any plugin that can be added as a widget??

  8. […] Adding a subscribe by email form at the end of each post can boost your email subscription. This tutorial helps in adding a subscribe by email form at the end of every post. This tutorial aims at making a form similar to Daily Blog Tips. You need to have a FeedBurner account. I have already guest posted to about creating a “Related Post and Bookmark” on Madhur Kapoor’s Blog. […]

  9. Very useful for me..Coz I feel numb when I see codes..probably this will help me to add some flavor to my theme.
    TFS