Yet Another Related Posts Plugin (YARPP)
[resolved] Related posts showing up in odd places (2 posts)

  1. chez17
    Posted 3 years ago #

    I just installed YARPP for a client and for some odd reason the related posts list is showing up in the footer. I did not set up this template so I don't know how it works but two calls:

    <?php echo getWysiwigContentFromSiteOptions('company_address'); ?>
    <?php echo getWysiwigContentFromSiteOptions('footer_hardcode'); ?>

    are causing all 4 related posts to show up. For example the 'company_address' call is printing the company address, but then right afterthat it's printing the 4 related posts of the current blog page. These are only showing up on blog pages which is good. Any idea on why those calls are causing all related posts to show up? Just to be clear, it's rendering the entire template for each of those calls.


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    I can't speculate on what's going on with your theme, but I suggest you turn off the "automatic display" options for YARPP, in YARPP's settings, and then call related_posts() in your theme exactly where you want it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic