[wp-hackers] Can you merge two menus?

Michael Van Winkle mike at mikevanwinkle.com
Wed Jun 15 20:09:09 UTC 2011

I've always done this either with two separate menus and a conditional statement in the theme file.  Why do they need to be "merged"? 



Mike Van Winkle
708.289.3136 / @mpvanwinkle
mike at mikevanwinkle.com

On Jun 15, 2011, at 3:55 PM, Mike Schinkel wrote:

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list