Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112496

rixtertrader on "How to Hide Custom Menu when logged out"

$
0
0

Okay, running into a brick wall. :-b

It looks like what I need to do is have TWO menus defined. I've created MEMBERSHIP and LOGIN as my two menus.

Only one can be the Primary menu for the Twenty-ten theme.

So what I guess I need to do is to programically change the Primary Menu for when LOGGED IN or LOGGED OUT.

Can I do this? So far I'm not sure.

I figure this all have to be done BEFORE the code in header.php is reached...

<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>)

...

Anyone? Anyone?


Viewing all articles
Browse latest Browse all 112496

Trending Articles