Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Related posts showing up in odd places

  • Resolved chez17


    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.

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

Viewing 1 replies (of 1 total)
  • The topic ‘Related posts showing up in odd places’ is closed to new replies.