Description
A Post Terms Block allows you to stylize how the terms for your posts are displayed. It’s part of the Post Template Block child items that also include Post Title, Post Excerpt, Post Date, and Featured Image.
The more posts you have, the more likely you need taxonomies like categories and tags to organize your content. Taxonomies can be used for drop-down filtering, to improve browsing. Terms are the labels for those taxonomies, such as ‘events’, ‘press releases’, or ‘Vancouver’.
What the Post Terms Block does is give you control over how your terms are displayed when the post thumbnail content is pulled onto a page or section of a page through in a Query Block.
Screenshots
Settings
Post Terms Block Settings
Taxonomies
Choose which taxonomies display when post thumbnails are viewed in a Query Block. The options will depend on what you have configured. They may include any of categories, tags, and subcategories.
Separator
Choose the character(s) that should separate terms, if multiple terms are applied to one post. For example: “,” or “–” or “|” symbols. The separator will only be visible on the frontend of your site; if you have multiple taxonomies for a post, only one will show in the editor. The reason you see the word “categories” twice in the screenshot above is because categories have been chosen in the first toggle. If tags were selected, they would also appear.
Separator Text Style
Choose a text style from your options (set in Foundry > Global Styles) for your separator copy. This may only apply to a single symbol, but it is still relevant to your brand guidelines!
Separator Text Color
This setting fills the separator text with a selected colour from the dropdown, as set in your colour palette(s) under Foundry > Global Styles.
Term Spacing
Choose the amount and Measurement Unit for your term spacing. The options are px, percent, EM, REM, VW or VH.
Category Terms Styles
Choose an option to control how your terms display in the Query Block. ‘None’ will leave it without additional styling. Other options will depend on how you have configured buttons to appear in Foundry > Global Styles > Component Styles > Buttons.
Link Settings
Toggle this setting on or off to make your term a link (which you can set), or unlinked. For example, if you want people to be able to click the category name and visit a category landing page, you would link it. But there are UX reasons to show categories or tags and not link them.
Label Settings
Show Taxonomy Label
Toggle this option on or off to show or hide your taxonomy label where the post is displayed.
Add Label Colon
This will add a “:” after the label. This is helpful for terms that look like normal text among other paragraphs.
Label Text Style
Choose from options set under Foundry > Global Styles.
Label Position
Choose to place the label at the top or on the bottom of the Post Terms Block.
Advanced
Additional CSS Class(es)
This allows you to enter a unique Class identifier, for custom CSS targeting within the theme to faciliate custom development. More about Theme Customizations.
It also enables the use of Foundry utility classes. More about Utility Classes.