Category lists

Show a category with its name, description and a "View all" link above its products, or several categories as tabs.

Pro

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

AttributeDefaultUse
categoryRequired (or categories)One category slug or ID. Several make tabs.
categoriesEmptySeveral category slugs or IDs, one tab each (wins over category)
show_descriptionyesno hides the category description
show_view_allyesno hides the "View all …" link to the category page
baselistgrid shows the products as a grid
titleEmptyHeading 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.