A plug in would be preferred as my php knowledge is not good.
I have a list of resource categories on a page and want each title to expand and show further resources in that category.
Dan | gteh answers:
Use wp_list_pages or wp_nav_menu to control what is displayed.
See: http://codex.wordpress.org/Function_Reference/wp_list_pages and http://codex.wordpress.org/Function_Reference/wp_nav_menu
Each of them generates classes such as .current_page_item which you can use to control various levels.
Steve Watson comments:
Will either of those work on a the items on a page like this. The items i want to exand are in the page content not the navigation bar.
Ross Wilson answers:
I have used the first plugin on this page before to show an according style menu and it was very easy to configure. I believe you could place the menu anywhere with a shortcode. The other two plugins are interesting and come from the same developer.
[[LINK href="http://www.designchemical.com/blog/index.php/wordpress-plugins/choosing-a-vertical-menu-wordpress-plugin-for-your-site/"]]vertical menu plugins[[/LINK]]
Francisco Javier Carazo Gil answers:
You want something like this: [[LINK href="http://jqueryui.com/demos/accordion/"]]http://jqueryui.com/demos/accordion/[[/LINK]]
You can use it directly in your theme. If you want more info ask.