{"id":226625,"date":"2025-04-07T04:21:32","date_gmt":"2025-04-07T04:21:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/category-filter-block\/"},"modified":"2026-02-12T04:50:09","modified_gmt":"2026-02-12T04:50:09","slug":"category-filter-block","status":"publish","type":"plugin","link":"https:\/\/so.wordpress.org\/plugins\/category-filter-block\/","author":10980640,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"6.9.4","requires":"6.5","requires_php":"7.0","requires_plugins":null,"header_name":"Category Filter Block","header_author":"Misha Rudrastyh","header_description":"Just a simple category filter block with the Interactivity API support.","assets_banners_color":"","last_updated":"2026-02-12 04:50:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/rudrastyh.com","rating":5,"author_block_rating":0,"active_installs":40,"downloads":1399,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"rudrastyh","date":"2025-04-07 06:04:32"},"1.1":{"tag":"1.1","author":"rudrastyh","date":"2026-02-12 04:50:09"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3267623,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3267623,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"rudr\/category-filter":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"rudr\/category-filter","version":"1.0.0","title":"Category Filter","category":"theme","description":"Displays a category filter.","keywords":["taxonomy","category","tags","filter","query"],"supports":{"align":["wide","full"],"html":false,"anchor":false,"interactivity":true,"typography":{"fontSize":true,"textAlign":false},"spacing":{"padding":true,"margin":true,"__experimentalDefaultControls":{"padding":true,"margin":true}},"position":{"sticky":true}},"ancestor":["core\/query"],"usesContext":["queryId","query","enhancedPagination"],"attributes":{"textAlign":{"type":"string"},"filterType":{"type":"string","default":"dropdown"},"showCount":{"type":"boolean","default":false},"allItemsText":{"type":"string"}},"textdomain":"category-filter-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php","viewScriptModule":"file:.\/view.js"}},"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3267623,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3267623,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Category Filter block in the Inserter","2":"Category Filter block settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[37962,2236,148076,50137],"plugin_category":[],"plugin_contributors":[173152],"plugin_business_model":[],"class_list":["post-226625","plugin","type-plugin","status-publish","hentry","plugin_tags-category-filter","plugin_tags-filter","plugin_tags-gutenberg","plugin_tags-post-filter","plugin_contributors-rudrastyh","plugin_committers-rudrastyh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/category-filter-block\/assets\/icon-128x128.png?rev=3267623","icon_2x":"https:\/\/ps.w.org\/category-filter-block\/assets\/icon-256x256.png?rev=3267623","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/category-filter-block\/assets\/screenshot-1.png?rev=3267623","caption":"Category Filter block in the Inserter"},{"src":"https:\/\/ps.w.org\/category-filter-block\/assets\/screenshot-2.png?rev=3267623","caption":"Category Filter block settings"}],"raw_content":"<!--section=description-->\n<p>The category filter block allows you to filter posts displayed with the standard Query Loop block by category, without page refresh. The Interactivity API is fully supported.<\/p>\n\n<h4>Features<\/h4>\n\n<p>\u2705 The category filter can be displayed as links or as a select dropdown field.\n\u2705 You can display a post count number near each category.\n\u2705 Custom <strong>All Categories<\/strong> text\n\u2705 Works without page refresh (AJAX + Interactivity API)<\/p>\n\n<h4>Pro features<\/h4>\n\n<p>\u2705 Custom taxonomies are supported.\n\u2705 Multiple taxonomy filters within the same Query Loop.\n\u2705 Sort categories (terms) in the filter alphabetically, by post count, or in a custom order.\n\u2705 The filter can be displayed as buttons with the possibility of style customization (color, background color, border, border radius, etc).<\/p>\n\n<p>\ud83d\ude80 <a href=\"https:\/\/rudrastyh.com\/plugins\/taxonomy-filter-block\">Upgrade to Pro<\/a><\/p>\n\n<!--section=installation-->\n<h4>Automatic Install<\/h4>\n\n<ol>\n<li>Log into your WordPress dashboard and go to Plugins &rarr; Add New<\/li>\n<li>Search for \"Category Filter Block\"<\/li>\n<li>Click \"Install Now\" under the \"Category Filter Block\" plugin<\/li>\n<li>Click \"Activate Now\"<\/li>\n<\/ol>\n\n<h4>Manual Install<\/h4>\n\n<ol>\n<li>Download the plugin from the download button on this page<\/li>\n<li>Unzip the file, and upload the resulting <code>category-filter-block<\/code> folder to your <code>\/wp-content\/plugins<\/code> directory<\/li>\n<li>Log into your WordPress dashboard and go to Plugins<\/li>\n<li>Click \"Activate\" under the \"Category Filter Block\" plugin<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed: Deprecation notices in the browser console (Block API version, __nextHasNoMarginBottom, and __next40pxDefaultSize)<\/li>\n<li>Minor UI improvements<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Just a simple category filter block with the Interactivity API support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/226625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=226625"}],"author":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rudrastyh"}],"wp:attachment":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=226625"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=226625"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=226625"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=226625"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=226625"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=226625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}