Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i am new to wordpress and i have to show the my menus in side bar in hierarchial way like

Home page

and they should be collapsible in starting and when i click on main menu of it will show me the sub menus .

my test enviorment URL is

and the html who's copy i have to do in my menu is

any plugin who fullfill my requirement really very much help full to me.

and i already tried some plugin's like,, but none of them giving me that effect.


share|improve this question

1 Answer 1

You do not need a plugin to do this, you can do it with wp_nav_menu() (and it's related functions) and CSS. Specifically what you should be looking at is the .current-page-ancestor and .menu-item-ancestor to display (or not display) the desired links.

share|improve this answer
as i written in my question i am very new to wordpresss so can u please help me where i have to made these changes ? –  rahularyansharma Feb 9 '12 at 10:32
it can be done with any plugin so i dont have to write any code –  rahularyansharma Feb 9 '12 at 10:41
If you already have the side menu setup, you can just modify it in Appearance->Menus –  mor7ifer Feb 9 '12 at 10:58
yah, i already done there but side menu appearing in a vertical straight line.i want to them be categorized and collapsible and expandable –  rahularyansharma Feb 9 '12 at 11:08
Then modify the might need some javascript too. If you are asking how to do the CSS, it is not an appropriate question for this site, as it does not deal with wordpress. –  mor7ifer Feb 9 '12 at 11:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.