[wp-hackers] Can you merge two menus?

Mike Schinkel mikeschinkel at newclarity.net
Wed Jun 15 19:55:41 UTC 2011


On Jun 15, 2011, at 3:52 PM, Peter van der Does wrote:
> I want to have two menus
> - Guests Menu
> - Members Menu
> 
> The members menu is an exact copy of Guest plus some extra items.
> 
> I know you can create two menus in admin but I would like to know
> if it's possible to create a Members menu which only holds those
> items available for members and merge these menu items with the guest
> menu when needed.

It's probably going to be easier to create one menu and then, using hooks in PHP, remove those menu items for non-members.  Of course, others might be able to think of a different way.

-Mike




More information about the wp-hackers mailing list