-
Notifications
You must be signed in to change notification settings - Fork 1
Hidden Menus
Coding Futures Team edited this page Oct 18, 2013
·
1 revision
One of the things that crops up from time to time is hiding menu items or swapping out menus. Unfortunately while WordPress have a lovely drag and drop menu system there is no easy way to exclude individual items based on content protection without making some modifications to your theme.
You therefore have 3 choices:
- Use a plugin to swap out menus based on user logged in/logged out
- Modify your theme code to allow swapping menus depending on status
- Modify your theme code to allow swapping of menu based on package types
Your Members Filter access plugin Note in < YM12 pages that have not been protected by Your Members won't show up in the menu!
The exact steps will be dependent on your theme but on the whole you will need to do 2 things:
- Register new menus in your functions.php
- Add code in the header.php