WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Showing duplicate related posts (3 posts)

  1. Gabe
    Member
    Posted 2 years ago #

    I'm getting repeated related posts showing eg:

    Nine differences between Android and iOS tablet UI
    Tour of Android 3, designed for tablets
    Designers rejoice: Android 4.0 has soft back and menu buttons
    Android Genesis
    Nine differences between Android and iOS tablet UI
    Tour of Android 3, designed for tablets
    Designers rejoice: Android 4.0 has soft back and menu buttons
    Android Genesis

    http://smallsurfaces.com/2012/01/finally-a-ui-style-guide-for-android/

    I've checked the template file, and there's only one instance of the related posts function (this problem only appeared recently, I haven't changed the template file in months).

    Seems to be a bug introduced with a recent update.

    Gabe

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Are you by chance calling echo related_posts()? related_posts() now always returns the HTML, even if you don't have the $echo parameter set to false. You probably just want related_posts().

  3. Gabe
    Member
    Posted 2 years ago #

    Fixed! Thanks!

    Gabe

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic