{"id":261370,"date":"2025-11-18T22:17:47","date_gmt":"2025-11-18T22:17:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/taxonomy-filter-block\/"},"modified":"2025-11-18T22:17:37","modified_gmt":"2025-11-18T22:17:37","slug":"riaco-taxonomy-filter-block","status":"publish","type":"plugin","link":"https:\/\/fa.wordpress.org\/plugins\/riaco-taxonomy-filter-block\/","author":8872771,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"RIACO Taxonomy Filter Block","header_author":"Roberto Iacono","header_description":"Display taxonomy terms as inline filters, enabling users to filter posts dynamically by category, tag, or custom taxonomy.","assets_banners_color":"","last_updated":"2025-11-18 22:17:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":188,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"prototipo88","date":"2025-11-18 22:17:37"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3398382,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3398382,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"create-block\/riaco-taxonomy-filter-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"create-block\/riaco-taxonomy-filter-block","version":"1.0.0","title":"RIACO Taxonomy Filter Block","category":"widgets","icon":"filter","description":"Display taxonomy terms as inline filters, enabling users to filter posts dynamically by category, tag, or custom taxonomy.","example":{},"supports":{"html":false,"interactivity":true,"layout":{"allowSwitching":false,"allowInheriting":false,"default":{"type":"flex"}},"typography":{"fontSize":true}},"ancestor":["core\/query"],"usesContext":["queryId","query","enhancedPagination"],"attributes":{"taxonomy":{"type":"string"},"type":{"type":"string","default":"links"},"textColor":{"type":"string"},"buttonBackgroundColor":{"type":"string"},"buttonHoverColor":{"type":"string"},"buttonActiveColor":{"type":"string"},"textActiveColor":{"type":"string"},"blockGap":{"type":"object","default":{"top":"var:preset|spacing|20","right":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20"}},"padding":{"type":"object","default":{"top":"0rem","right":"0.5rem","bottom":"0rem","left":"0.5rem"}},"borderRadius":{"type":"number","default":0},"borderWidth":{"type":"string","default":"0px"},"borderColor":{"type":"string","default":""},"borderStyle":{"type":"string","default":"solid"}},"textdomain":"riaco-taxonomy-filter-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":["file:.\/style-index.css","wp-components"],"render":"file:.\/render.php","viewScriptModule":"file:.\/view.js"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":3401678,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3401678,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3401678,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[250873,91,4643,250872],"plugin_category":[57],"plugin_contributors":[238641],"plugin_business_model":[],"class_list":["post-261370","plugin","type-plugin","status-publish","hentry","plugin_tags-query-block","plugin_tags-taxonomy","plugin_tags-taxonomy-filter","plugin_tags-taxonomy-filter-block","plugin_category-taxonomy","plugin_contributors-prototipo88","plugin_committers-prototipo88"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/riaco-taxonomy-filter-block\/assets\/icon-128x128.png?rev=3398382","icon_2x":"https:\/\/ps.w.org\/riaco-taxonomy-filter-block\/assets\/icon-256x256.png?rev=3398382","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/riaco-taxonomy-filter-block\/assets\/screenshot-1.gif?rev=3401678","caption":""},{"src":"https:\/\/ps.w.org\/riaco-taxonomy-filter-block\/assets\/screenshot-2.png?rev=3401678","caption":""},{"src":"https:\/\/ps.w.org\/riaco-taxonomy-filter-block\/assets\/screenshot-3.png?rev=3401678","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Inline Taxonomy Filters for Query Loop<\/strong> lets you display taxonomy terms (such as categories, tags, or custom taxonomies) as clickable inline filters for the WordPress Query Loop block.<\/p>\n\n<h3>Features<\/h3>\n\n<p>This allows visitors to dynamically filter posts on the front-end without reloading the entire page \u2014 creating a smooth, modern browsing experience.<\/p>\n\n<p>Perfect for blogs, portfolios, directories, and any site that uses Query Loop blocks to list posts or custom post types.<\/p>\n\n<ul>\n<li>Display taxonomy terms (categories, tags, or custom taxonomies) as inline filters.<\/li>\n<li>Works seamlessly with the <strong>Query Loop<\/strong> block.<\/li>\n<li>Uses the new <strong>WordPress Interactivity API<\/strong> for smooth, dynamic filtering.<\/li>\n<li>Supports multiple taxonomies.<\/li>\n<li>Respects pagination and URL parameters.<\/li>\n<\/ul>\n\n<h3>Use Cases<\/h3>\n\n<ul>\n<li>Filter blog posts by category.<\/li>\n<li>Filter products or portfolio items by taxonomy.<\/li>\n<li>Create dynamic, AJAX-like query filters without writing custom JS.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/riaco-taxonomy-filter-block<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Add a <strong>Query Loop<\/strong> block to your post or page.<\/li>\n<li>Insert the <strong>Taxonomy Filter<\/strong> block inside your Query Loop.<\/li>\n<li>Select the taxonomy (e.g. category, tag) you want to use as a filter.<\/li>\n<li>Preview and enjoy dynamic inline filtering!<\/li>\n<\/ol>\n\n<h4>Does this work with custom taxonomies?<\/h4>\n\n<p>Yes! You can choose any registered taxonomy, including custom ones.<\/p>\n\n<h4>Does it reload the page when filtering?<\/h4>\n\n<p>No. It uses the WordPress Interactivity API and <code>@wordpress\/interactivity-router<\/code> for smooth, dynamic updates.<\/p>\n\n<h4>Can I style the filters?<\/h4>\n\n<p>Yes. The filters output simple HTML markup you can style with CSS or theme classes.<\/p>\n\n<h4>Is JavaScript required?<\/h4>\n\n<p>Yes, but the script is lightweight and only loads where the block appears.<\/p>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Release<\/li>\n<li>Added inline taxonomy filters for Query Loop block.<\/li>\n<li>Implemented Interactivity API integration for dynamic navigation.<\/li>\n<\/ul>","raw_excerpt":"Display taxonomy terms as inline filters, enabling users to filter posts dynamically by category, tag, or custom taxonomy.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/261370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=261370"}],"author":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/prototipo88"}],"wp:attachment":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=261370"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=261370"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=261370"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=261370"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=261370"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=261370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}