Skip to content

Shortcodes Reference

Add shortcodes to a WordPress Shortcode block or a compatible page builder widget.

Shortcode Output
[competitions] Competition product grid
[featured_competitions] Featured competitions
[recent_competitions] Recently published competitions
[ending_soon_competitions] Competitions ordered by end date
[future_competitions] Scheduled competitions
[finished_competitions] Finished competitions
[my_active_competitions] Current customer’s active competitions
[my_competitions] Current customer’s competitions
[won_competitions] Current customer’s wins
[competitions_winners] Competition winner output
[competition_draw_results] Draw results grid
[competitions_draw_results] Alias for the draw results grid
[competition_lucky_dip_button] Lucky Dip template in a competition product context
[competitions limit="12" columns="3" paginate="true"]
[featured_competitions limit="6" columns="3"]
[ending_soon_competitions limit="4" columns="4"]
[competitions category="giveaways" limit="9" columns="3"]
[competitions ids="123,456" columns="2"]

Replace category slugs and IDs with values from your store.

Attribute Use
limit Maximum products; base grid default is -1
columns Grid columns
rows Row count; when provided, replaces the result limit
paginate Set to "true" for pagination
page Initial page number
ids, skus Comma-separated product selection
category, tag Taxonomy filters
cat_operator, tag_operator IN, NOT IN, or AND
attribute, terms, terms_operator Attribute filtering
orderby, order Sort key and ASC or DESC
visibility Product visibility selection
competition_status Status filtering; prefer the dedicated status shortcodes for common lists
cache Shortcode result caching; default disabled
class Additional CSS class

Wrapper shortcodes can supply their own defaults. Draw results have separate defaults. The Lucky Dip shortcode is not a generic grid and does not use this attribute table.