
WooCommerce Category Accordion plugin enables you to list WooCommerce product categories and subcategories in an accordion format with expand/collapse …
| Author: | Themepoints (profile at wordpress.org) |
| WordPress version required: | 5.8 |
| WordPress version tested: | 7.1.4 |
| Plugin version: | 2.0.0 |
| Added to WordPress repository: | 01-06-2025 |
| Last updated: | 10-11-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://www.themepoints.com/woo-accordion |
| Total downloads: | 2 219 |
| Active installs: | 100+ |
![]() Click to start download |
|
Category Accordion for WooCommerce turns your product category tree into a clean, fast, accessible accordion for sidebars, shop pages and menus.
Features
- Gutenberg block, shortcode and classic widget
- Unlimited category depth (or set a max depth)
- Automatically opens the current category and its parents
- Single-open or multiple-open mode, default-open options, adjustable animation speed
- Keyboard accessible: real toggle buttons with
aria-expandedandaria-controls; respects reduced-motion settings - Parent category links stay clickable – only the arrow toggles the section
- Include / exclude categories, start from any parent category, hide empty, hide “Uncategorized”
- Sort by WooCommerce custom order, name, slug, ID or product count
- Product counts, category images and optional “View all” links
- Arrow or plus/minus icons (no icon font required), RTL friendly
- Modern settings page (WooCommerce > Category Accordion) with tabs, a live preview and global defaults
- Colors and font size via CSS variables
- Lightweight: one database query for the whole tree, cached; no jQuery; assets load only where the accordion is used
- Works with WPML and Polylang
Shortcode
[tp_category_accordion]
Example: [tp_category_accordion parent="0" exclude="15,22" show_count="yes" orderby="name" order="ASC" multiple="no" default_open="current" icon="arrow"]
Supported attributes: parent, include, exclude, hide_empty, hide_uncategorized, show_count, show_image, show_view_all, orderby (menu_order, name, slug, id, count), order, max_depth, default_open (current, all, none), multiple, speed, icon (arrow, plus), font_size, text_color, hover_color, active_color, border_color.
Developer hooks
tpcafw_args– filter the sanitized settings before renderingtpcafw_html– filter the final HTML
Screenshots
FAQ
ChangeLog






