Support » Plugin: WordPress Related Posts » [Plugin: WordPress Related Posts] Doesn’t work in WP 3.0

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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 🙁

    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.

    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 ?

    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.


    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.

    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.

    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=\"\" 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WordPress Related Posts] Doesn’t work in WP 3.0’ is closed to new replies.