Category lists
Show a category with its name, description and a "View all" link above its products, or several categories as tabs.
One category
[siteryn_product_category_list category="accessories" limit="3"]
- The category name "Accessories" as a heading, its description and a "View all Accessories" link
- Three products below in the list layout with their short descriptions
Several categories as tabs
[siteryn_product_category_list categories="tops,bottoms,shoes" limit="3" title="Shop by category"]
- "Shop by category" with Tops, Bottoms and Shoes tabs
- The Tops tab: its description "Blouses, shirts and knitwear.", a "View all Tops" link and three products in the list layout
Attributes
| Attribute | Default | Use |
|---|---|---|
category | Required (or categories) | One category slug or ID. Several make tabs. |
categories | Empty | Several category slugs or IDs, one tab each (wins over category) |
show_description | yes | no hides the category description |
show_view_all | yes | no hides the "View all …" link to the category page |
base | list | grid shows the products as a grid |
title | Empty | Heading above the tabs (several categories only) |
Every other grid and list attribute works too, including layout, limit, badges, filters and load more. With no valid category the shortcode prints nothing. In the builder, choose Shortcode type Category list (one tab per category); it uses the categories picked under Products.