The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Advanced Category Excluder
Widget Exclusion (2 posts)

  1. Evil Rabbit
    Posted 6 years ago #

    I chose "none" as exclusion method for widgets but nevertheless it doesn't show the recent posts of my selected category in the "Category Posts Widget" on my start page.


  2. pragmar
    Posted 6 years ago #

    I just hit this myself, you can hack the category widget to get around this. Since the excluder is filtering WP_Query, you'll need to remove the filters for the category query - here's how.

    Find the query in cat-posts.php:

    $cat_posts = new WP_Query("showposts=" . $instance["num"] . "&cat=" . $instance["cat"]);

    Modify it to ignore filters:

    $cat_posts = new WP_Query(array('showposts' => $instance["num"], 'post_status' => 'publish', 'cat'=>$instance["cat"], 'suppress_filters'=>1));

    As with all plugin hacks, beware that a plugin upgrade will remove the modification.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Category Excluder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic