Mai Terms [mai_terms] Shortcode

Display terms from one or more taxonomies on archives, single posts, or in the Mai Post Grid block. This shortcode includes powerful attributes for displaying published and/or updated dates.

Here is an overview of how to use shortcodes.

taxonomy

Comma-separated list of the taxonomies to show the current post terms from.

Default is "category".

Example:

[mai_terms taxonomy="category, post_tag"]

sep

The separator between terms.

Default is empty.

Example:

[mai_terms sep=", "] 

before

Show content before the list of terms.

Default is empty.

Example:

[mai_terms before="Filed in: "]

after

Show content after the published date.

Default is empty.

Example:

[mai_terms before=""]

link

Whether the terms should link to their archive page.

Default is true.

Example:

[mai_terms link="false"]

post_id

Show terms for a specific post ID.

Default is the current post ID.

Example:

[mai_terms post_id="1234"]
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us