Configuration

Opening the Settings Page

Go to WooCommerce → Category Accordion in your WordPress admin. Settings are organised across five tabs.

General Tab

Setting Options Description
Enable Accordion On / Off Master switch to enable or disable the accordion output globally.
Event Type Click / Hover Whether categories expand on click (recommended) or on mouse hover.
Default Open None / First / All / Current Which categories are expanded when the page first loads.
Highlight Current Category On / Off Adds an active style to the category matching the current shop page.
Animation Speed 0–800ms Duration of the expand/collapse animation. Set to 0 to disable animation.

Display Tab

Setting Options Description
Theme 13 themes Sets the visual theme. See Themes & Styling for descriptions.
Icon Style 8 styles The toggle icon shown on parent categories.
Show Product Count On / Off Displays the number of products in each category.
Hide Empty Categories On / Off Hides categories that contain no published products.
Max Depth 0–5 (0 = unlimited) Limits how many levels deep the accordion renders.

Sorting Tab

Setting Options Description
Order By Name / ID / Slug / Custom Order / Count The field used to sort categories.
Order ASC / DESC Sort direction.
Exclude Categories Comma-separated IDs Category IDs to hide from the accordion. Does not affect WooCommerce shop pages.

Advanced Tab

Setting Options Description
AJAX Loading On / Off Loads child categories via REST API on first expand. Recommended for stores with 50+ categories.
Cache Duration 0–1440 minutes How long to cache the category tree in transients. 0 disables caching.
Conditional Asset Loading On / Off Only enqueues CSS/JS on pages where the accordion is present.

License Tab

Enter your serial key here to enable automatic updates. See License & Updates for details.

Frequently Asked Questions