1. Home
  2. Docs
  3. WPB Accordion Menu or Category PRO
  4. ShortCode Parameters
  5. Menu Accordion ShortCode Parameters

Menu Accordion ShortCode Parameters

Menu Accordion ShortCode:  

[wpb_menu_accordion menu="Main Menu"]
  1.  theme_location: (string) Theme location to be used. Must be registered with register_nav_menu() in order to be selectable by the user.
  2. menu: (int|string|WP_Term) Desired menu. Accepts a menu ID, slug, name, or object.
  3. accordion: Close previously opened accordion. Options: yes, no. Default: yes.
  4. depth: (int) How many levels of the hierarchy are to be included. 0 means all. Default 0.
  5. xclass: (string) Add extra CSS class.

 

 

Was this article helpful to you? Yes No

How can we help?