WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. letheos
    Member
    Posted 3 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)
    Member
    Plugin Author

    Posted 3 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

About this Topic