Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] Showing related posts from a category (2 posts)

  1. letheos
    Posted 5 years ago #

    Are there any arguments for related_posts()?
    Is it possible to use an argument and show in a template page related posts only from a certain category?

  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 4 years ago #

    related_posts has some arguments, but they are not documented as they are not frozen and may change.

    I would recommend using a YARPP custom template to filter out all posts which are not a particular category. If you want the same restriction everywhere, though, you can just try "disallowing" all other categories in the YARPP options.

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