Title: [Plugin: Yet Another Related Posts Plugin] Exclude category broken
Last modified: August 20, 2016

---

# [Plugin: Yet Another Related Posts Plugin] Exclude category broken

 *  [victar](https://wordpress.org/support/users/victar/)
 * (@victar)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-exclude-category-broken/)
 * I can’t seem to get exclude category to work anymore. Here’s what I have in my
   template.
 *     ```
       <?php if (yarpp_related) : ?>
       <?php yarpp_related(array('exclude' => array('category' => 10459), 'recent' => '1 month')); ?>
       <?php endif; ?>
       ```
   
 * I even tried disallowing the category in the Pool settings on YARPP with no success.
 * [http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/)

Viewing 1 replies (of 1 total)

 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-exclude-category-broken/#post-2869425)
 * Please see the readme. The format of the `exclude` argument has changed.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Yet Another Related Posts Plugin] Exclude category broken’ is
closed to new replies.

 * ![](https://ps.w.org/yet-another-related-posts-plugin/assets/icon-256x256.png?
   rev=2549977)
 * [YARPP - Yet Another Related Posts Plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/reviews/)

## Tags

 * [exclude category](https://wordpress.org/support/topic-tag/exclude-category/)
 * [YARPP](https://wordpress.org/support/topic-tag/yarpp/)

 * 1 reply
 * 2 participants
 * Last reply from: [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-exclude-category-broken/#post-2869425)
 * Status: not resolved