Taxonomy builder is a variation of Repeater builder that allows you to get taxonomy data.
To use this block, add repeater builder block and select Taxonomy list data type
There are two modes of taxonomy
Taxonomy archive
This data will show all your taxonomy terms for the selected taxonomy. This is the default type. This type helps make archives of your terms or show the latest terms for selected taxonomy
Inherited Taxonomy
To use this type, enable the option “Inherited from current”
If you put a block inside the Single Post template, it will show the current terms of the current post. If you put the block on the Archive template, it will show children the current taxonomy.
If you just want to show a list of terms, for example, categories for the current post, it is much better to use a Post category block or meta-getter block. Taxonomy Repeater Builder is for building complex designs for taxonomies, for example, you can also show images or other data that are attached to terms as Taxonomy meta fields
<!-- wp:paragraph -->
<p>Taxonomy builder is a variation of Repeater builder that allows you to get taxonomy data.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>To use this block, add <a href="https://greenshiftwp.com/repeater-builder/" data-type="post" data-id="2714">repeater builder</a> block and select Taxonomy list data type</p>
<!-- /wp:paragraph -->
<!-- wp:image {"id":4697,"width":259,"height":432,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full is-resized"><img src="https://greenshiftwp.com/wp-content/uploads/2024/04/taxonomy.png" alt="" class="wp-image-4697" width="259" height="432"/></figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
<p>There are two modes of taxonomy</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading" id="taxonomy-archive">Taxonomy archive</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>This data will show all your taxonomy terms for the selected taxonomy. This is the default type. This type helps make archives of your terms or show the latest terms for selected taxonomy</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading" id="inherited-taxonomy">Inherited Taxonomy</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>To use this type, enable the option "Inherited from current"</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>If you put a block inside the Single Post template, it will show the current terms of the current post. If you put the block on the Archive template, it will show children the current taxonomy.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>For example, simple taxonomy builder</p>
<!-- /wp:paragraph -->
<!-- wp:greenshift-blocks/repeater {"id":"gsbp-8a699d3","limit":8,"gridGap":[20,20,20,20],"repeaterType":"taxonomy","container_link":true,"linkTypeField":"permalink"} -->
<!-- wp:greenshift-blocks/dynamic-post-image {"id":"gsbp-36cf291","sourceType":"repeater","link_enable":false,"image_size":"medium","scale":"cover","width":["custom"],"height":["custom"],"widthUnit":["%"],"customWidth":[100],"customHeight":[120]} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"15px","right":"15px","bottom":"15px","left":"15px"},"blockGap":"5px"}}} -->
<div class="wp-block-group" style="padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px"><!-- wp:greenshift-blocks/dynamic-post-title {"id":"gsbp-a088b15","spacing":{"margin":{"values":{"top":["0px"],"bottom":["0px"]},"locked":false},"padding":{"values":{},"locked":false}},"typography":{"textShadow":{},"size":["1.1rem"],"line_height":["1.6rem"]},"sourceType":"repeater","headingTag":"div","link_enable":false,"repeaterField":"name"} /-->
<!-- wp:greenshift-blocks/meta {"id":"gsbp-02b8d5e","csstransform":{"opacity":"0.5"},"typographyValue":{"textShadow":{},"size":["16px"]},"typographyPostfix":{"textShadow":{},"size":["16px"]},"spacingValue":{"margin":{"values":{"right":["5px"]},"locked":false},"padding":{"values":{},"locked":false}},"type":"repeater","typeselect":"repeater","postfix":"items","repeaterField":"count"} /--></div>
<!-- /wp:group -->
<!-- /wp:greenshift-blocks/repeater -->
<!-- wp:paragraph -->
<p><a href="https://gist.github.com/wpsoul/db42f15672de782fdc5b4d5787c96854">Copy code of taxonomy builder</a></p>
<!-- /wp:paragraph -->
<!-- wp:greenshift-blocks/infobox {"id":"gsbp-665e413","type":"infolight"} -->
<div class="wp-block-greenshift-blocks-infobox gspb_infoBox gspb_infoBox-id-gsbp-665e413" id="gspb_infoBox-id-gsbp-665e413"><div class="gs-box infolight_type icon_type"><div class="gs-box-icon"><svg x="0px" y="0px" viewBox="0 0 512 512"> <g><g> <path d="M256,0C114.497,0,0,114.507,0,256c0,141.503,114.507,256,256,256c141.503,0,256-114.507,256-256 C512,114.497,397.492,0,256,0z M256,472c-119.393,0-216-96.615-216-216c0-119.393,96.615-216,216-216 c119.393,0,216,96.615,216,216C472,375.393,375.384,472,256,472z"></path> </g> </g> <g> <g> <path d="M256,214.33c-11.046,0-20,8.954-20,20v128.793c0,11.046,8.954,20,20,20s20-8.955,20-20.001V234.33 C276,223.284,267.046,214.33,256,214.33z"></path> </g> </g> <g> <g> <circle cx="256" cy="162.84" r="27"></circle> </g> </g> </svg></div><div class="gs-box-text"><!-- wp:paragraph -->
<p>If you just want to show a list of terms, for example, categories for the current post, it is much better to use a Post category block or meta-getter block. Taxonomy Repeater Builder is for building complex designs for taxonomies, for example, you can also show images or other data that are attached to terms as Taxonomy meta fields</p>
<!-- /wp:paragraph --></div></div></div>
<!-- /wp:greenshift-blocks/infobox -->