View Product Page


To add the YITH WooCommerce Category Accordion shortcode to the page, click on the button you can find in the text editor.


Here follows the complete list of the configurable options with the shortcode, specifying the name of the attribute with the related default value in brackets in case you want to add the shortcode in the code of your theme.

If you want to add the shortcode manually, you can use this:


Here are the available attributes:

  • Title: (‘title’=”) shortcode title.
  • Show in Accordion: (‘how_show’ = ” ) type of element to show (WordPress categories, WooCommerce categories, tag, WordPress menu).
    • WordPress categories (‘how_show’ = ‘wp’ )
    • WooCommerce categories (‘how_show’ = ‘wc’ )
    • tag categories (‘how_show’ = ‘tag’ )
    • WordPress menu (‘how_show’ = ‘menu’ )
  • Show WordPress/WooCommerce subcategories: (‘show_sub_cat’ = ‘on/off’) show/hide the subcategories (if available) created on WooCommerce or WordPress, depending on the selected type on “Show in Accordion”.
  • Exclude WordPress/WooCommerce Categories: (‘exclude_cat’ = ‘ids’) WordPress or WooCommerce categories to exclude in the list of the page.
  • Show Last Post: (‘show_last_post’ = ‘on/off’) show the last published post for each category (option available only if you decide to show WordPress categories).
  • Highlight the current category: (‘highlight’ = ‘on/off’) highlight the category of the page in which users are.
  • Show Count: (‘show_count’ = ‘on/off’) show the number of elements assigned to each category.
  • Style: ( ‘acc_style’ = ‘style_1/style_2/style_3/style_4’ ) style for the shortcode – you can select it among the 4 set in the option panel of the plugin.
  • Hide Accordion in pages: (‘exclude_page’ = ‘ids’) pages in which you don’t want to show the shortcode.
  • Hide Accordion in posts: (‘exclude_post’ = ‘ids’) posts in which you don’t want to show the shortcode.
  • Order: (‘order’ = ‘ASC/DESC’) (‘orderby’ = ‘name,id,count’) sorting system for the entries of the list.