Yet Another Related Posts Plugin (YARPP)
[resolved] Get Related posts from one category (2 posts)

  1. juanjosezg
    Posted 3 years ago #

    i want to show related posts from an especific category i know that exist 'exclude' => array(), but my blog has a lot of categories.

    I need to exclude all categories?

    i should be easy to select 'category' => 'recipes' and only show releated post from especific category, how can i do that?


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    That is not supported.

    If you just want to display results from a particular category, it's probably easier to create your own WP_Query.

    Alternatively, you could use a YARPP template to filter the results so only those in a particular category are shown: http://mitcho.com/blog/projects/yarpp-3-templates/

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.