🚀 🚀 LAUNCH SALE - 33% off all Lifetime Licenses

Dynamic Tags Reference

Last Modified: July 17, 2026

A dynamic tag is a small placeholder — like {{term_title}} — that you place inside a text block inside a loop. When the page loads, each tag is replaced with real data from the current loop item. For example, put {{term_title}} in a Heading block inside a Terms loop and every loop item will print the name of its term.

Term Tags

These tags work inside a Terms loop — a loop that queries taxonomy terms (categories, tags, or any custom taxonomy).

TagWhat it showsOptions
term_titleThe term name (for example, “Recipes” or “Blue”).link: set to true to wrap the name in a link to the term archive page.
term_descriptionThe term description text.None.
term_archive_urlThe URL of the term archive page.None.
term_countHow many posts use this term.None.

User Tags

These tags work inside a Users loop — a loop that queries WordPress user accounts.

TagWhat it showsOptions
user_display_nameThe user’s display name.link: set to true to link the name to the author archive page.
user_emailThe user’s email address.None.
user_bioThe user’s biography.None.
user_avatar_urlThe URL of the user’s avatar image.size: avatar size in pixels. default: fallback image URL or a Gravatar default style. forceDefault: force the default image even when the user has an avatar. rating: maximum content rating to allow (for example, g).
user_urlThe user’s website URL.None.
user_posts_urlThe URL of the user’s author archive (their list of posts).None.
user_post_countHow many posts the user has published.None.

WooCommerce Tags

These tags work inside a Products loop. WooCommerce must be installed and active.

TagWhat it showsOptions
product_priceThe product price.type: leave empty for the active price, regular for the regular price, or sale for the sale price.
product_skuThe product SKU (stock-keeping unit — a short product code).None.
product_stockThe stock status (for example, “In stock”).field: set to quantity to print the actual stock number instead of the status label.
product_ratingThe product’s average customer rating.format: numeric for a number, or stars for a star display. use_wc_output: set to true to use WooCommerce’s own star HTML; leave it false (the default) to use the plugin’s built-in SVG stars.
product_review_countHow many customer reviews the product has.None.
product_add_to_cart_urlThe add-to-cart URL for the product.None.
product_add_to_cart_textThe text for the add-to-cart button (for example, “Add to cart” or “Select options”).None.
product_image_urlA product image URL. Note: this tag was previously named product_image. The current name is product_image_url.source: leave empty for the featured image, or set to gallery to pull from the gallery. position: which gallery image to use; 1 means the first image. image size: the registered image size to use (for example, thumbnail or large).
product_weightThe product weight.None.
product_dimensionsThe product dimensions.None.
product_on_salePrints 1 if the product is on sale. Prints nothing if it is not.None.
product_attributeThe raw value of a product attribute (for example, “Red, Blue, Green”).attribute: an attribute slug, or the word primary or secondary to target the first or second attribute.
product_titleThe product title.type: leave empty for the full title, base for the base title only, or attributes for the attributes portion only. with_primary_attr: include the primary attribute in the output. link: product links to the product page; variation links to the specific variation.
product_variation_descriptionThe description for the current product variation.None.
product_category_image_urlThe image URL for a product category.image size: the registered image size to use.
product_urlThe product URL.type: leave empty for the product URL, or set to variation or post.
product_optionThe display label for one variation option (for example, the label for the selected size).attribute: primary, secondary, or an attribute slug.
product_optionsThe full secondary-option switcher — for example, a set of size buttons a shopper can click.attribute: the attribute to use. sep: leave empty for buttons, or set to links, list, or comma. label: a label shown before the options. in_stock_only: show only in-stock options.

Which attribute tag should I use?

WooCommerce products have three different attribute tags. Here is a quick guide:

  • product_attribute — Use this for the raw value of any attribute. Good for displaying a plain list like “Red, Blue, Green”.
  • product_option — Use this to show the display label for one variation option (for example, the currently selected size).
  • product_options — Use this to show the full secondary-option switcher: a set of clickable buttons, links, a list, or comma-separated values that let shoppers pick an option.

Universal Options

These two options work on every tag in this reference.

fallback

Shows a value when the tag would otherwise print nothing. For example, if a product has no SKU, you could show “N/A” instead of a blank space.

The special value avatar tells the tag to fall back to the avatar URL when the main output is empty.

url

Treats the tag’s output as a WordPress attachment ID (a number that identifies a media file) and converts it into an image URL. The value you give is the image size to use — for example, thumbnail or large.