This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Cat + Tag Filter


If you were searching for an easy way to let your WordPress site visitors to filter your content by a category and several tags in the same time, this plugin will help you a lot. It will add a widget to your widgets admin page, where you can edit the settings and put it in any “widgetized” place on your website.

This plugin will be very useful for websites with hundreds of categories and tags. I wrote it for my travel blog where we have categories for places that we’d been and tags for topics like video, photo, useful, mountains, beaches e.t.c.
So I wanted to give my visitors an ability to easily filter content by any category plus tag, like category India + tag Video + tag Mountains. WordPress has the ability to show such pages, we just need to pass the proper address to it.

If your WordPress template doesn’t support widgets, please see the Installation tab, there are some instructions on how to manually add this widget in your template files.


  • This is how the plugin looks in twentyten, almost no styling.
  • This is how it looks on my blog
  • These are the widget options


  1. Go to your WordPress admin dashboard -> Plugins -> Add new, then search for Cat + Tag Fliter and agree to install it.
  2. Go to youк widget options and change the widgets settings.
  3. Sometimes it is needed to manually flush rewrite rules. Go to your Permalinks Options and change it to something else, save, and then change it back to normal.

If it didn’t work, try this:

  1. Upload cat-tag-filter folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to your widgets settings and add Cat + Tag Filter widget to your sidebar.

If your theme doesn’t support widgets, you can use this code:

<?php the_widget('cat_tag_filter', $instance, $args); ?>

Here is a full list of default $instance arguments:
‘title’ => ‘Filter’
‘button_title’ => ‘Show posts’
‘cat_list_label’ => ‘Show posts from:’
‘tag_list_label’ => ‘With tag:’
‘all_cats_text’ => ‘Any category’
‘all_tags_text’ => ‘Any tag’
‘cats_count’ => 1
‘tags_count’ => 0
‘tag_logic’ => 1 // 1 for AND and 0 for OR logic operator
‘tag_type’ => 1 // 1 for checkboxes and 0 for dropdown
‘clude_tags’ => ‘exclude’ //can be ‘include’ or ‘exclude’
‘exclude_tags’ => ” //used for including tags also, if clude_tags is set to ‘include’
‘clude_cats’ => ‘exclude’ //can be ‘include’ or ‘exclude’
‘exclude_cats’ => ” //used for including categories also, if clude_cats is set to ‘include’
‘tag_tax’ => ‘post_tag’,
‘category_tax’ => ‘category’

If you want to override some settings, for example get rid of title and turn on the counter for tag list use this code:

<?php the_widget('cat_tag_filter','title=&tags_count=1'); ?>

If you want to get rid of div’s that WordPress creates before and after all the widgets, use this code:

<?php the_widget('cat_tag_filter','title=','before_widget=&after_widget='); ?>

You can also override before_title and after_title the same way.




Read all 9 reviews

Contributors & Developers

“Cat + Tag Filter” is open source software. The following people have contributed to this plugin.


Translate “Cat + Tag Filter” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • fixed 404 on pages


  • Added permalinks support. If it doesn’t work – flush rewrite rules!


  • Added an option to switch off corresponding tags mode.
  • fixed layout in categories with no corresponding tags.
  • fixed corresponding tags for categories with more than one page of posts.


  • fixed layout in categories with no corresponding tags.


  • fixed a bug with tags including\excluding.


  • Widget shows only corresponding tags for a chosen category.
  • It is now possible to include categories and tags instead of excluding
  • Added some comments to the code
  • Added option for hiding category dropdown list


  • Added custom taxonomies support (beta).


  • Added static front page support.


  • Added options to exclude tags or categories


  • Fixed bug when no tags chosen


  • New option added: “Show tags as checkboxes”. Now users can choose several tags.
  • Added the donation button in widgets options. Please consider donating! Thank you!


  • Plugin’s widget now retains the selected category and tag.


  • Fixed the output of all tags in the page source code. Please update ASAP, because this bug was inserting a big amount of text in your page source code – very bad for your website indexing by search engines.


  • Fixed the “no valid header” error during plugin installation.


  • Plugins first publication