Shortcode builder
Pick what to show, and the builder writes the shortcode for you to copy into any page, post, widget or Shortcode block.
Siteryn → Product Grid & List → Shortcode Builder. Nothing on this tab is saved: it only builds a shortcode. Empty fields are left out of the shortcode, so they use your saved settings.
- Layout: Grid selected, Columns 3, Number of products 6, Heading "New season dresses" (the placeholders show your saved defaults)
- Products: the Dresses category chosen in Categories
- Shortcodes card with both shortcodes and Copy buttons
Layout
Grid writes [siteryn_product_grid], List writes [siteryn_product_list].
Grid only, 1 to 6.
1 to 100.
Shown above the products (title).
Products
Pick one or more categories, shown as a tree. Subcategories are included.
Any selected category, All selected categories or None of the selected categories (cat_operator). Only added when categories are picked.
Search by name; only these products are shown (ids).
Sorting
Any order from Order, including "Order of the selected product IDs".
Ascending or Descending.
Your Shortcode
The Shortcode box updates as you change anything. Click Copy shortcode: "Shortcode copied to clipboard." If your browser blocks copying, select the text in the box and copy it yourself.
- The read-only Shortcode box starting
[siteryn_product_grid category="dresses" limit="6" columns="3" orderby… - The Copy shortcode button
With Pro active, three more cards appear above Your Shortcode: Shortcode Type & Layout, Advanced Filters and Responsive.
The Shortcodes card
On the General and Shortcode Builder tabs, the sidebar lists [siteryn_product_grid] and [siteryn_product_list] with a Copy button each ("Copied!"), an example, and All attributes: one line of help per attribute (with Pro, Pro's attributes and shortcodes too).
Pro builder options Pro
- Shortcode Type & Layout: Shortcode type "Grid or list (as chosen above)", Layout preset Carousel, Load more Off, Badges Sale and New
- Advanced Filters: Tags, Only show (Products on sale ticked, Featured products), Stock status, Price range, Exclude products, Published within
- Responsive: Tablet columns and Mobile columns
| Field | Adds |
|---|---|
| Shortcode type | Grid or list (as chosen above), Product tabs ([siteryn_product_grid_tabs]) or Category list (one tab per category) ([siteryn_product_category_list], using the categories picked in Products) |
| Tabs | Product tabs only: Featured, On sale, Best sellers, Top rated, New arrivals (tabs) |
| Layout preset | Standard (grid or list), Carousel, Masonry, Overlay cards or Compact list (layout) |
| Load more | Default (from Pro Features), Off, Load more button or Infinite scroll (pagination) |
| Badges | Sale, New, Featured, Out of stock, Low stock or No badges (badges) |
| Tags | Product tags (tag) |
| Only show | Products on sale (on_sale), Featured products (featured) |
| Stock status | Any, In stock, Out of stock or On backorder (stock_status) |
| Price range | From … to … in your currency (min_price, max_price) |
| Exclude products | Product search (exclude) |
| Published within | Days (published_within) |
| Tablet columns, Mobile columns | 1 to 6 (columns_tablet, columns_mobile) |
Without an active license these cards show the Pro preview banner and can't be used. See the Pro pages for what each option does.