Inicio - Documentación - POM Theme - 08 Templates - Feed template merge tags

Feed template merge tags

Feed tags render one item in a listing or result loop. Choose tags that match the item type and the data available in its content model.

Post identity and content

Merge tag Purpose
{{post_id}} Item ID
{{title}} Item title; product results also apply the WooCommerce loop title-area output
{{permalink}} Item URL
{{post_content}} Main content
{{excerpt}} Plain-text excerpt
{{date}} Published date
{{date_updated}} Modified date
{{comments}} Linked comment count
{{author}} Author display name
{{author_url}} Author archive URL

Images, video and custom fields

Merge tag Purpose
{{featured_image}} Featured image HTML
{{featured_image_url}} Featured image URL
{{featured_video}} Featured product video, with image fallback
{{video_thumbnail}} Product video presentation or image fallback
{{image_from_meta}} Image stored in a custom field
{{gallery}} Gallery stored in a custom field
{{video_from_url}} YouTube or Vimeo URL stored in a custom field
{{meta}} Custom-field value
{{button_from_meta}} Button whose URL comes from a custom field
{{feed_from_meta}} Small nested listing from post IDs stored in a custom field
{{taxonomy_terms}} Terms for a selected taxonomy

Interaction and presentation

Merge tag Purpose
{{icon}} SVG icon
{{translatable_string}} Translated label
{{add_to_favorite}} Favorite control
{{like_button}} Like control and count

WooCommerce

These tags return content only in the applicable WooCommerce product context:

  • {{price}}
  • {{rating}}
  • {{stock}}
  • {{display_attribute_info}}
  • {{e_commerce_product_img_from_gallery}}
  • {{e_commerce_product_time_slots}}
  • {{e_commerce_product_btn}}
  • {{sale_text}}
  • {{sale_amount}}

When POM Tweaks Country pricing zones is active, product feeds keep shared HTML independent of the first visitor's country. {{price}}, {{e_commerce_product_btn}}, {{sale_text}}, and {{sale_amount}} initially render neutral loading states and then update to the resolved regional price, purchase action, and sale state. Product cards inserted later by POM Faceted Search use the same behavior.

Quick View loads the normal product page in its frame, so its price and purchase controls resolve there. The mini-cart is intentionally different: WooCommerce cart fragments keep it synchronized with the current private cart and it is not hydrated from a public feed card.

Conditional example

{{if meta="event_date" value="not_empty"}}
    {{meta name="event_date" type="date" prepend=%%Date: %%}}
{{else}}
    <span>{{translatable_string text=%%Date to be confirmed%%}}</span>
{{/if}}

For attributes, limits and complete examples, see Feed templates.