WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Using function for YARPP and getting it showing twice (4 posts)

  1. kwoodall
    Member
    Posted 1 year ago #

    I'm using the related_posts() function call and it's showing it twice.

    http://newsite.advocatemag.com/2012/09/this-weekend-rob-schneider-indian-dance-and-gluten-free-expo/

    I don't have it selected in the options to automatically display.

    Any ideas?

    Kermit Woodall
    [ Signature moderated. ]

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry to see this... this is quite odd. A couple things:

    1. Please check to see that the "automatic display" option you turned off in YARPP settings is under the "display options for the web" section, and that it stays unchecked after refreshing the page (making sure that the setting is actually being saved).
    2. Are you using a custom template or not?

    Is this an issue that occurred with a recent update to YARPP or your theme?

  3. finramblog
    Member
    Posted 1 year ago #

    I was seeing something similar when I switched from Wasabi Related Posts to YARPP. Here was the problem:

    To call Wasabi, I had to use "echo related_posts()" and the "echo" was causing the list to show up twice with YARPP (I call it manually instead of letting it auto-insert).

    The end result looked similar to the problem you're having, so check your theme and see if this might explain it. Hope this helps.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @finramblog thanks for chiming in. Indeed, this is a common cause for getting two displays... @kwoodall, is that what your theme happened to do?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.