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?
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?
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.
This topic has been closed to new replies.