Yet Another Related Posts Plugin (YARPP)
Passing Post ID's used in yarpp_related() (1 post)

  1. jetlej
    Posted 2 years ago #

    I'm using two loops one one page, one of which is yarpp_related(). Is there a way to pass an array of the post ID's used in the related loop to the second loop so I can exclude those posts and avoid duplicates?

    I've pushed the post ID's to an array within my yarpp template, but I can get that variable to be in scope on the mother template.



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


No tags yet.