{"id":12142,"date":"2011-02-14T18:21:43","date_gmt":"2011-02-14T18:21:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cat-tag-filter-widget\/"},"modified":"2012-11-23T09:14:26","modified_gmt":"2012-11-23T09:14:26","slug":"cat-tag-filter-widget","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/cat-tag-filter-widget\/","author":7327364,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.9.1","stable_tag":"0.9.1","tested":"3.4.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Cat + Tag Filter","header_author":"Ajay Verma","header_description":"","assets_banners_color":"","last_updated":"2012-11-23 09:14:26","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/goo.gl\/SCdKg","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/cat-tag-filter-widget\/","header_author_uri":"http:\/\/ajayver.com\/","rating":4.1,"author_block_rating":0,"active_installs":100,"downloads":19687,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>None.<\/p>"},"ratings":{"1":2,"2":0,"3":0,"4":0,"5":7},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.2.1","0.2.2","0.3","0.3.1","0.3.2","0.3.3","0.4","0.4.1","0.4.2","0.5","0.6","0.7","0.8","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.9","0.9.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538888","resolution":"2","location":"plugin","width":208,"height":221},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538888","resolution":"3","location":"plugin","width":252,"height":1057},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538888","resolution":"1","location":"plugin","width":258,"height":211}},"screenshots":{"1":"This is how the plugin looks in twentyten, almost no styling.","2":"This is how it looks on my blog","3":"These are the widget options"}},"plugin_section":[],"plugin_tags":[610,2236,609,162],"plugin_category":[43,57],"plugin_contributors":[82287],"plugin_business_model":[],"class_list":["post-12142","plugin","type-plugin","status-publish","hentry","plugin_tags-categories","plugin_tags-filter","plugin_tags-tags","plugin_tags-widget","plugin_category-customization","plugin_category-taxonomy","plugin_contributors-ajayver","plugin_committers-ajayver"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cat-tag-filter-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cat-tag-filter-widget\/trunk\/screenshot-1.png?rev=1538888","caption":"This is how the plugin looks in twentyten, almost no styling."},{"src":"https:\/\/ps.w.org\/cat-tag-filter-widget\/trunk\/screenshot-2.png?rev=1538888","caption":"This is how it looks on my blog"},{"src":"https:\/\/ps.w.org\/cat-tag-filter-widget\/trunk\/screenshot-3.png?rev=1538888","caption":"These are the widget options"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.\nSo I wanted to give my visitors an ability to easily filter content by any category plus tag, like <strong>category India + tag Video + tag Mountains<\/strong>. WordPress has the ability to show such pages, we just need to pass the proper address to it.<\/p>\n\n<p>If your WordPress template doesn't support widgets, please see the <code>Installation<\/code> tab, there are some instructions on how to manually add this widget in your template files.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to your Wordpress admin dashboard -&gt; Plugins -&gt; Add new, then search for <strong>Cat + Tag Fliter<\/strong> and agree to install it.<\/li>\n<li>Go to you\u043a widget options and change the widgets settings.<\/li>\n<li>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.<\/li>\n<\/ol>\n\n<p>If it didn't work, try this:<\/p>\n\n<ol>\n<li>Upload <code>cat-tag-filter<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to your widgets settings and add Cat + Tag Filter widget to your sidebar.<\/li>\n<\/ol>\n\n<p>If your theme doesn't support widgets, you can use this code:<\/p>\n\n<pre><code>&lt;?php the_widget('cat_tag_filter', $instance, $args); ?&gt;\n<\/code><\/pre>\n\n<p>Here is a full list of default $instance arguments:\n    'title' =&gt; 'Filter'\n    'button_title' =&gt; 'Show posts'\n    'cat_list_label' =&gt; 'Show posts from:'\n    'tag_list_label' =&gt; 'With tag:' \n    'all_cats_text' =&gt; 'Any category'\n    'all_tags_text' =&gt; 'Any tag'\n    'cats_count' =&gt; 1 \n    'tags_count' =&gt; 0 \n    'tag_logic' =&gt; 1 \/\/ 1 for AND and 0 for OR logic operator \n    'tag_type' =&gt; 1 \/\/ 1 for checkboxes and 0 for dropdown \n    'clude_tags' =&gt; 'exclude' \/\/can be 'include' or 'exclude'\n    'exclude_tags' =&gt; '' \/\/used for including tags also, if clude_tags is set to 'include'\n    'clude_cats' =&gt; 'exclude' \/\/can be 'include' or 'exclude'\n    'exclude_cats' =&gt; '' \/\/used for including categories also, if clude_cats is set to 'include'\n    'tag_tax' =&gt; 'post_tag', \n    'category_tax' =&gt; 'category'<\/p>\n\n<p>If you want to override some settings, for example get rid of title and turn on the counter for tag list use this code:<\/p>\n\n<pre><code>&lt;?php the_widget('cat_tag_filter','title=&amp;tags_count=1'); ?&gt;\n<\/code><\/pre>\n\n<p>If you want to get rid of div's that WordPress creates before and after all the widgets, use this code:<\/p>\n\n<pre><code>&lt;?php the_widget('cat_tag_filter','title=','before_widget=&amp;after_widget='); ?&gt;\n<\/code><\/pre>\n\n<p>You can also override <code>before_title<\/code> and <code>after_title<\/code> the same way.<\/p>\n\n<!--section=faq-->\n<p>None.<\/p>\n\n<!--section=changelog-->\n<h4>0.9.1<\/h4>\n\n<ul>\n<li>fixed 404 on pages<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Added permalinks support. If it doesn't work - flush rewrite rules!<\/li>\n<\/ul>\n\n<h4>0.8.4<\/h4>\n\n<ul>\n<li>Added an option to switch off corresponding tags mode.<\/li>\n<li>fixed layout in categories with no corresponding tags.<\/li>\n<li>fixed corresponding tags for categories with more than one page of posts.<\/li>\n<\/ul>\n\n<h4>0.8.4<\/h4>\n\n<ul>\n<li>fixed layout in categories with no corresponding tags.<\/li>\n<\/ul>\n\n<h4>0.8.3<\/h4>\n\n<ul>\n<li>fixed a bug with tags including\\excluding.<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>Widget shows only corresponding tags for a chosen category.<\/li>\n<li>It is now possible to include categories and tags instead of excluding<\/li>\n<li>Added some comments to the code<\/li>\n<li>Added option for hiding category dropdown list<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added custom taxonomies support (beta).<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Added static front page support.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Added options to exclude tags or categories<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Fixed bug when no tags chosen<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>New option added: \"Show tags as checkboxes\". Now users can choose several tags.<\/li>\n<li>Added the donation button in widgets options. Please consider donating! Thank you!<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Plugin's widget now retains the selected category and tag.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fixed the \"no valid header\" error during plugin installation.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Plugins first publication<\/li>\n<\/ul>","raw_excerpt":"This plugin adds a widget to your WordPress site that gives your visitors an ability to filter all your posts by a category or\/and tag.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12142"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ajayver"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12142"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12142"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12142"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12142"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12142"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}