Quick start
It works out of the box. These five steps make it match your store.
1. Place the accordion
General: keep Enable Category Accordion and Use in Shop Sidebar on. In a supporting theme, the shop and category pages now show it in the sidebar. For other spots, add the Siteryn Category Accordion widget or copy the shortcode from the Shortcode card.
- General Options card with Enable Category Accordion and Use in Shop Sidebar
- Shortcode card with the Copy button and the Attributes list opened
- Reset to Defaults card
2. Choose the categories
General โ Categories: hide empty categories or "Uncategorized", exclude categories by ID, limit the depth and pick the order. Custom order follows the drag-and-drop order under Products โ Categories.
3. Set the behavior
General โ Behavior: start collapsed or expanded, allow one open category at a time, and decide whether clicking a parent's name opens its page or expands it.
4. Style it
Style: colors for the box, parent and child rows, the current category and the icon, plus font sizes, padding and indentation.
5. Test it
- Open your shop in a private window
Click the arrow next to a parent category: its subcategories slide open.
- Open a category
The current category is shown in the Current Category color.
- Try the keyboard
Press Tab to reach a toggle and Enter to open it.