Taxonomy Terms
Basics
The Taxonomy terms
block allows you to showcase your WordPress tags, categories, custom taxonomies and terms.
The Taxonomy Terms
block allows you total layout and design freedom since it is based on the same principle as the query
and repeater
blocks.
The Taxonomy Terms
block allows you to specify the origin of the taxonomies you want to display.
If you are working on a template or a template part and have set to source to current, make sure to enable "dynamic preview" bu clicking the icon in the top menu.
When it comes to layout and design, you have a large palette of choice from columns, to inline block and flex with all the styling features and properties.
Taxonomy Terms Placeholder
When you add a taxonomy terms block, a placeholder will open with "Taxonomy Terms source not set".
This means that you need to set your taxonomy terms in the Source tab of the Primary tab.
Click "+ Select Source" which will take you to the Primary tab and open up the Source dropdown. Choose between Current and Custom.
With the taxonomy terms block selected, you can set up the the styling of your block, such as source, layout, colours.
Source
You can choose between Current and Custom source properties.
Current Allows you to inherit the current taxonomies and terms that belong to the specific query.
Custom Gives you a choice of Post Types and Taxonomies allowing you complete freedom in showing the taxonomies and terms you want. When a custom source is selected, you are able to sort the taxonomies and terms by order and direction, while also being able to hide empty taxonomies if needed.
Current Source
Allows you to inherit the current taxonomies and terms that belong to the specific query.
Number
Allows you to choose how many taxonomy terms you wish to appear.
Custom Source
Gives you a choice of Post Types and Taxonomies allowing you complete freedom in showing the taxonomies and terms you want. When a custom source is selected, you are able to sort the taxonomies and terms by order and direction, while also being able to hide empty taxonomies if needed.
Post Type
Allows you to choose the type of post you want to include inside the taxonomy
and terms
block, such as Posts.
Taxonomies
Only the taxonomies and terms from the chosen post types will appear.
Allows you to select the taxonomies you want to include.
Exclude
You can exclude a single or multiple taxonomies and terms.
Allows you to exclude the taxonomies and terms you don't want to appear. This may include Categories, Tags, Navigation Menus, or specific posts or elements.
Order By
Allows you to choose how to order the custom taxonomies you want to include, ID
Direction
Allows you to choose the direction of the custom taxonomies you want to include such as unset, ascending, descending.
Number
Allows you to specify the number of terms you want to display.
Hide Empty
Allows you to hide empty taxonomies.
Exclude Current
The Exclude Current property allows you to exclude the current taxonomy.
Last updated