{"id":192153,"date":"2024-05-07T16:15:07","date_gmt":"2024-05-07T16:15:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/category-labels-block\/"},"modified":"2026-01-20T16:52:07","modified_gmt":"2026-01-20T16:52:07","slug":"category-labels-block","status":"publish","type":"plugin","link":"https:\/\/mn.wordpress.org\/plugins\/category-labels-block\/","author":21005884,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.7","stable_tag":"1.0.7","tested":"6.7.5","requires":"5.8.3","requires_php":"5.7","requires_plugins":null,"header_name":"Category Labels Block","header_author":"smallplugins","header_description":"An helpful block that allows displaying a subset of associated post categories.","assets_banners_color":"d9d9d2","last_updated":"2026-01-20 16:52:07","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/smallplugins.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/www.smallplugins.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1923,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"smallplugins","date":"2024-07-15 16:57:37"},"1.0.1":{"tag":"1.0.1","author":"smallplugins","date":"2024-09-09 16:28:06"},"1.0.2":{"tag":"1.0.2","author":"smallplugins","date":"2024-11-04 17:42:12"},"1.0.3":{"tag":"1.0.3","author":"smallplugins","date":"2025-02-04 16:06:49"},"1.0.4":{"tag":"1.0.4","author":"smallplugins","date":"2025-04-17 17:16:15"},"1.0.5":{"tag":"1.0.5","author":"smallplugins","date":"2025-05-27 15:29:54"},"1.0.6":{"tag":"1.0.6","author":"smallplugins","date":"2025-09-12 18:48:46"},"1.0.7":{"tag":"1.0.7","author":"smallplugins","date":"2026-01-20 16:52:07"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3082702,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3082702,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3082702,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"small-plugins\/category-labels":{"$schema":"https:\/\/json.schemastore.org\/block.json","apiVersion":2,"name":"small-plugins\/category-labels","title":"Category Labels","category":"text","description":"Display a subset of relevant post categories\/taxonomies.","keywords":["category","labels"],"attributes":{"scopeToCurrentPost":{"type":"boolean","default":true},"displayPrimary":{"type":"boolean","default":false},"fallbackPrimary":{"type":"boolean","default":true},"limitCategories":{"type":"string","default":""}},"providesContext":{"category-labels-block\/scope-to-current-post":"scopeToCurrentPost","category-labels-block\/display-primary":"displayPrimary","category-labels-block\/fallback-primary":"fallbackPrimary","category-labels-block\/limit":"limitCategories"},"version":"1.0.0","textdomain":"category-labels-block","editorScript":"category-labels-block-script","editorStyle":"category-labels-block-editor-style","style":"category-labels-block-frontend-style","supports":{"spacing":{"margin":true,"padding":true,"blockGap":true},"align":["full","wide"],"color":{"background":true,"link":true,"text":false},"layout":{"allowSwitching":false,"allowInheriting":false,"allowVerticalAlignment":false,"allowSizingOnChildren":true,"default":{"type":"flex","flexWrap":"nowrap"}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalTextTransform":true,"__experimentalFontFamily":true,"__experimentalLetterSpacing":true,"__experimentalTextDecoration":true,"__experimentalSkipSerialization":["textDecoration"],"__experimentalDefaultControls":{"fontSize":true}}}},"small-plugins\/term-name":{"$schema":"https:\/\/json.schemastore.org\/block.json","apiVersion":2,"name":"small-plugins\/term-name","title":"Term Name","category":"text","description":"Display a post term name.","editorScript":"category-name-block-script","keywords":["category","labels"],"attributes":{},"version":"1.0.0","textdomain":"category-labels-block","parent":["small-plugins\/post-term","small-plugins\/primary-term"],"usesContext":["term"],"supports":{"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalTextTransform":true,"__experimentalFontFamily":true,"__experimentalLetterSpacing":true,"__experimentalTextDecoration":true,"__experimentalSkipSerialization":["textDecoration"],"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"border":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"spacing":{"padding":true},"color":{"background":true,"link":false,"text":true}}},"small-plugins\/post-term":{"$schema":"https:\/\/json.schemastore.org\/block.json","apiVersion":2,"name":"small-plugins\/post-term","title":"Post Term","category":"text","description":"Display a post taxonomy term link.","keywords":["category","labels"],"attributes":{"term":{"type":"object","default":{}},"opensInNewTab":{"type":"boolean","default":false}},"usesContext":["category-labels-block\/scope-to-current-post","category-labels-block\/display-primary","category-labels-block\/fallback-primary","category-labels-block\/limit"],"providesContext":{"term":"term"},"version":"1.0.0","textdomain":"category-labels-block","editorScript":"category-link-block-script","parent":["small-plugins\/category-labels"],"supports":{"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalTextTransform":true,"__experimentalFontFamily":true,"__experimentalLetterSpacing":true,"__experimentalTextDecoration":true,"__experimentalSkipSerialization":["textDecoration"],"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":true,"spacing":{"padding":true,"blockGap":true},"color":{"background":true,"link":false,"text":true},"layout":{"allowSwitching":false,"allowInheriting":false,"allowVerticalAlignment":false,"allowSizingOnChildren":true,"default":{"type":"flex"}}}},"small-plugins\/primary-term":{"$schema":"https:\/\/json.schemastore.org\/block.json","apiVersion":2,"name":"small-plugins\/primary-term","title":"Primary Term","category":"text","description":"Display a primary taxonomy term link.","keywords":["category","labels"],"attributes":{"fallback":{"type":"boolean","default":false}},"usesContext":["category-labels-block\/scope-to-current-post","category-labels-block\/display-primary","category-labels-block\/fallback-primary","category-labels-block\/limit"],"providesContext":{"term":"term"},"version":"1.0.0","textdomain":"category-labels-block","editorScript":"category-link-primary-block-script","parent":["small-plugins\/category-labels"],"supports":{"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalTextTransform":true,"__experimentalFontFamily":true,"__experimentalLetterSpacing":true,"__experimentalTextDecoration":true,"__experimentalSkipSerialization":["textDecoration"],"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":true,"spacing":{"padding":true,"blockGap":true},"color":{"background":true,"link":false,"text":true},"layout":{"allowSwitching":false,"allowInheriting":false,"allowVerticalAlignment":false,"allowSizingOnChildren":true,"default":{"type":"flex"}}}},"small-plugins\/term-abbreviation":{"$schema":"https:\/\/json.schemastore.org\/block.json","apiVersion":2,"name":"small-plugins\/term-abbreviation","title":"Term Abbreviation","category":"text","description":"Display a post term abbreviation.","keywords":["category","labels"],"attributes":{"content":{"type":"string","default":""}},"version":"1.0.0","textdomain":"category-labels-block","editorScript":"category-abbreviation-block-script","parent":["small-plugins\/post-term","small-plugins\/primary-term"],"supports":{"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalTextTransform":true,"__experimentalFontFamily":true,"__experimentalLetterSpacing":true,"__experimentalTextDecoration":true,"__experimentalSkipSerialization":["textDecoration"],"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"border":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"spacing":{"padding":true},"color":{"background":true,"link":false,"text":true}}}},"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3082702,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3082702,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3082702,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3082702,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Plugin banner.","2":"Display category abbreviation.","3":"Complete design flexibility.","4":"Native block functionalities."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[89,3808],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-192153","plugin","type-plugin","status-publish","hentry","plugin_tags-category","plugin_tags-labels","plugin_committers-smallplugins"],"banners":{"banner":"https:\/\/ps.w.org\/category-labels-block\/assets\/banner-772x250.jpg?rev=3082702","banner_2x":"https:\/\/ps.w.org\/category-labels-block\/assets\/banner-1544x500.jpg?rev=3082702","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/category-labels-block\/assets\/icon-128x128.png?rev=3082702","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/category-labels-block\/assets\/screenshot-1.jpg?rev=3082702","caption":"Plugin banner."},{"src":"https:\/\/ps.w.org\/category-labels-block\/assets\/screenshot-2.jpg?rev=3082702","caption":"Display category abbreviation."},{"src":"https:\/\/ps.w.org\/category-labels-block\/assets\/screenshot-3.jpg?rev=3082702","caption":"Complete design flexibility."},{"src":"https:\/\/ps.w.org\/category-labels-block\/assets\/screenshot-4.jpg?rev=3082702","caption":"Native block functionalities."}],"raw_content":"<!--section=description-->\n<p>Category Labels Block provides a customizable way to display categories associated with the current post. Allowing you to enhance your posts with dynamic category labels and taxonomies.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Scope to current post:<\/strong> A control that allows you to only display categories related to your current WordPress post.<\/li>\n<li><strong>SEO Plugins Support:<\/strong> This plugin supports displaying the primary post category via \"Yoast\" and \"Rank Math\" SEO plugin.<\/li>\n<li><strong>Taxonomy Support (PRO):<\/strong> Ability to display custom post taxonomies.<\/li>\n<li><strong>Limit Categories\/Taxonomies (PRO):<\/strong> Ability to limit the total number of categories to display.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Add the \"Category Labels\" block to start grouping categories or taxonomies.<\/li>\n<li>Inside the \"Category Labels\" block, add a \"Post Term\" block to select specific categories or taxonomies.<\/li>\n<li>Use the \"Term Name\" and \"Term Abbreviation\" blocks to display the category name and abbreviation, respectively.<\/li>\n<li>Adjust visibility and limits using the block's control settings in the sidebar.<\/li>\n<\/ol>\n\n<p><strong>Note:<\/strong> The free version allows selection of post categories only. Premium version includes additional features like custom taxonomy selection and limit controls.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin ZIP file.<\/li>\n<li>Go to <code>WordPress Dashboard &gt; Plugins &gt; Add New<\/code>.<\/li>\n<li>Upload the ZIP file and activate the plugin.<\/li>\n<li>Navigate to any page or post edit screen, and add the <strong>Category Labels Block<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20use%20this%20with%20any%20theme%3F\"><h3>Can I use this with any theme?<\/h3><\/dt>\n<dd><p>Yes, Category Labels Block works with any theme that supports Gutenberg blocks.<\/p><\/dd>\n<dt id=\"is%20there%20a%20limit%20to%20the%20number%20of%20categories%20i%20can%20display%3F\"><h3>Is there a limit to the number of categories I can display?<\/h3><\/dt>\n<dd><p>In the free version, you can display all categories related to the post. The premium version offers controls to limit the number of categories.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Dev: Update freemius SDK and maintenance update.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>New: Primary terms block.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Fix: 404 stylesheet issue.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fix: Avoid rendering HTML container when no categories matched.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Dev: Bump freemius SDK.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Dev: Bump freemius SDK.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>New: Ability to add primary fallback.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>New: Initial Release<\/li>\n<\/ul>","raw_excerpt":"A plugin that add native blocks which allows you to easily display associated category\/taxonomy on a WordPress post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/192153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=192153"}],"author":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/smallplugins"}],"wp:attachment":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=192153"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=192153"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=192153"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=192153"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=192153"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=192153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}