The sub-menu tag has no wiki summary.
2
votes
3answers
592 views
How to restrict plugin's sub-menu pages to admin/subscribers?
I am working on a plugin with 6 submenu pages. I want 5 of them to be accessible by Administrators only and 1 of them to be accessible by Subscribers only.
Both user roles will have different ...
1
vote
1answer
432 views
How can I make this custom menu work?
Can someone share with me the easiest way to convert this to work with wordpress’s 3.0 built in menu support. So far I have the topnav menu working correctly, but I’m having a hard time getting the ...
1
vote
1answer
741 views
Order Admin sub-menu items?
I am adding items to a CPT Admin menu using add_submenu_page which works great, but they are added to the bottom of the sub-menu after the CPT options. I want to be able to have them on top , but I ...
43
votes
11answers
17k views
Display a portion/ branch of the menu tree using wp_nav_menu()
I have a menu defined in WP Admin that looks like this:
I want to be able to display all the child links on the sidebar whenever I am at a parent page. For example, if the user is on my "About Us" ...