WordPress Related Posts
Doesn't work in WP 3.0 (8 posts)

  1. joesmalley
    Posted 6 years ago #

  2. csigncsign
    Posted 6 years ago #

    Yes, that's right.

    In WP 3.0 multblog system the plugin can be activated, but the settings, that you have made, cannot be saved; the settings page always appear in its original state ... without any changes :-(

  3. Rhand
    Posted 5 years ago #

    Just activated it in WordPress 3.1 - no multiblogging - and it does not seem to work. Nothing is shown, not even the remark that there are no related posts.

  4. tvds
    Posted 5 years ago #

    Any news on this ?

    I don't get it to work on my WP 3.x version.

    Any other good plugin for this that works ?

  5. WordWeaver777
    Posted 5 years ago #

    I just installed this plug-in because "Yet Another Related Posts" plug-in suddenly stopped working, possibly because it is not compatible with the "ShareThis" plug-in, since they both want to occupy the same place under each post.

    At any rate, after installing this plug-in in WP 3.0.4, it is showing a list of related posts, but NOT after each entry. It is only showing a list of related posts at the very bottom of the page, just before the footer section.

    How do I get this plug-in to show related posts under EACH blog entry?

    Right now, I have the code snippet installed in the TwentyTen theme's index.php file, right after this code:

    <div id="container">
    			<div id="content" role="main">
    			/* Run the loop to output the posts.
    			 * If you want to overload this in a child theme then include a file
    			 * called loop-index.php and that will be used instead.
    			 get_template_part( 'loop', 'index' );

    Is the developer still supporting this plug-in? I have seen other posts here which have likewise gone unanswered by him for several months or longer.


  6. WordWeaver777
    Posted 5 years ago #

    Okay, let me just update my previous post. As it turns out, this plug-in is working in WordPress 3.0.4, BUT, in order to get it to display related posts under EACH entry, you need to add the code snippet in your theme's "single.php" file.

    If you add it to the theme's "index.php" file, related posts will only appear one time at the bottom of the home page, right above the footer.

    In fact, as I did with the "index.php" file for the TwentyTen theme, I also added some extra CSS code to "single.php" so that the category name and tags look much nicer, and are enclosed in a round-cornered box. I in fact took some of the code from "index.php" and put it in "single.php".

    The related posts list is located right below the comments box.

    If you would like to see an example, go to my blog at the following URL, and then click on any of the "Recent Posts" links that are in the sidebar on the right side of the page:


    So, in short, this plug-in is working in 3.0.4 on single post pages.

  7. WordWeaver777
    Posted 5 years ago #

    Okay, I have just had more success with this plug-in, and now have related posts appearing on BOTH single post pages, as well as under each blog entry on the home page.

    In order to get the related posts to appear under each individual blog entry on your home page, you need to go into your theme's folder and open the "loop.php" file.

    It is there, right before this:

    <!-- .entry-utility -->

    That you need to add that code snippet, meaning this:

    <?php wp_related_posts(); ?>

    Again, go to my home page, and you will see that the plug-in is in fact working with 3.0.4.

    I hope that my three posts here help someone who may be stuck and frustrated with this plug-in.

  8. WordWeaver777
    Posted 5 years ago #

    Here is another very useful tip for those of you who may want to add a small icon before your "Related Posts" title.

    1. Open "wp_related_posts.php.

    2. Go to line 16 where you find this:

    function wp_get_related_posts($before_title="",$after_title="") {

    3. To add an icon before the title, do something like this:

    function wp_get_related_posts($before_title="<img src=\"http://www.example.com/Images/RelatedPosts.gif\" width=\"32\" height=\"32\" border=\"0\" alt=\"Related Posts\">  <strong>",$after_title="</strong><br><br>") {

    Again, you can see an example of this on our home page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic