Inicio - Documentación - POM Theme - 09 Shortcodes - 09.1 Shortcodes reference - `web_favorite_posts` Shortcode

web_favorite_posts Shortcode

The web_favorite_posts shortcode provides an initially empty feed that the theme's favorites runtime fills with the visitor's saved items. It supports a regular grid or a Masonry layout.

The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.

Usage

[web_favorite_posts]

Attributes

Attribute Default Accepted values Purpose
no_favorite_message You have not marked any product as a favourite. Plain text Sets the message used when the visitor has no saved items.
style default default, masonry Selects the regular row or Isotope-powered Masonry container.
columns 4 12, 6, 4, 3, 2 Sets the number of result columns.
exclude_images yes or empty Requests favorite cards without their images.
device_visibility String unless stated otherwise Applies the selected responsive visibility rule.
el_id Valid unique HTML ID Enter section ID (Note: make sure it is unique and valid according to w3c specification).
el_class String unless stated otherwise If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.

Verification

Test in the same browser with no favorites, one favorite and enough favorites to span several rows. Verify the empty message, image choice and columns are respected; for Masonry, confirm items settle without overlap after their content loads.