Forums

[Plugin: WordPress Related Posts] Related topics shown twice on single post (4 posts)

  1. linuslennstrand
    Member
    Posted 3 years ago #

    On the frontpage I only get one instance of related posts (as it should be), but when I click on a post the related posts are shown twice. I've tested so that there is nothing wrong with the template code by adding some text after the <?php wp_related_posts(); ?>, but that text is only shown once after the related posts have been shown twice. You can see the phenomena on http://www.kinesiskmat.se. Any guess on what might be the problem?
    /Linus

    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

  2. denishua
    Member
    Posted 3 years ago #

    please don't cancle auto insert option.

  3. linuslennstrand
    Member
    Posted 3 years ago #

    Thanks, but...
    I removed the <?php wp_related_posts(); ?> and now I see the related posts as they should be shown on the single posts. However they aren't shown at all on the post listings on the blog frontpage. Do you know what to do about that?
    /Linus

  4. shalamigri
    Member
    Posted 3 years ago #

    Thanks linuslennstrand!

    I removed the <?php wp_related_posts(); ?> as mentioned as above.
    I guess I have to edit my templates home.php file(or index.php file) to get related post to show on frontpage.

    ...I tried editing the frontpage, but the code is breaking my left margins. I think I'll just leave it alone for now.

Topic Closed

This topic has been closed to new replies.

About this Topic