Product tabs
Several product grids under one set of tabs: featured, on sale, best sellers, top rated, new arrivals and any categories.
[siteryn_product_grid_tabs limit="4" title="Shop the collection"]
- "Shop the collection" heading with the Featured, On sale and New arrivals tabs (Featured selected)
- Four featured products in the open tab
Attributes
| Attribute | Default | Use |
|---|---|---|
tabs | featured,on_sale,newest when no categories are given | Preset tabs in your order: featured (Featured), on_sale (On sale), best_selling (Best sellers), top_rated (Top rated), newest (New arrivals) |
categories | Empty | Category slugs or IDs; one tab per category, named after it, added after the preset tabs |
labels | Preset or category names | Comma-separated tab names in tab order, for example labels="Hot,Deals" |
title | Empty | A heading (h2) above the tabs; the tab list is labelled by it |
base | grid | list shows each tab as a list |
Every other attribute (limit, columns, layout, badges, pagination, filters…) applies to every tab. A category attribute narrows every tab to that category. Best sellers sorts by sales, Top rated by rating and New arrivals by date, all newest/highest first.
[siteryn_product_grid_tabs categories="tops,bottoms,shoes" limit="6" columns="3" pagination="load_more"]
How the tabs work
- An accessible tabs widget: arrow keys move between tabs (reversed on right-to-left sites), Home and End jump to the first and last tab, and the tab opens as it gets focus.
- Without JavaScript every panel is shown, one after another, each with its own heading.
- An empty tab says "No products found." instead of being blank.
- In the builder, choose Shortcode type Product tabs and pick the Tabs.