Exclude Category not working
-
I’ve been using this plugin for a while now and it has been working great. Recently a client had a request to have the ability to exclude certain posts from the list. I have edited the code to exclude a certain category, but posts with that category are still showing. If I change the code to only show posts with the new category, it works fine, but it will not exclude the category. Here is my code:
<?php $args = array( 'limit' => 5, 'range' => 'monthly', 'order_by' => 'views', 'post_type' => 'post', 'cat' => '-2933' ); wpp_get_mostpopular( $args ); ?>
Any help with this would be appreciated.
- The topic ‘Exclude Category not working’ is closed to new replies.