Creates vertical dropdown menus from wordpress pages with wp_list_pages function using jQuery. You can add menu using either widgets or function in theme file. Handles just 2 levels and supports every parameters wp_list_pages has. Also you can set menu div's id and class by additional parameters.
Widget Options for Menu
ID for container UL: You can set an ID of menu div. Default: nav
CSS class for container UL: You can set an class of menu div. Default: null
All other parameters comes from wp_list_pages function. You can check function page for further information:
http://codex.wordpress.org/Function_Reference/wp_list_pages#Parameters
For more information please check out the plugin home page:
Plugin Home Page
See Demo
This section describes how to install the plugin and get it working.
== Installation ==
- Upload the plugin through
Plugins > Add New > Upload
interface or upload wp-jquery-accordion-menu
folder to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- In the widgets section, select the "WP JQuery Accordion Menu" widget and add to one of your widget areas and set the parameters. Also you can call "get_menu" function from your theme files. Please check plugin page for using function.
- Please make sure jQuery library is added.