

The accordion in a shop sidebar: the current category is open and product counts are shown.
Category Accordion for WooCommerce turns your product category tree into a clean, fast, accessible accordion for sidebars, shop pages and menus.
Features
aria-expanded and aria-controls; respects reduced-motion settingsShortcode
[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