Hi,
I created a Catch Box child and I placed a small nav in the header (top right corner):
login | become a member | contact
After someone logs in, I would like this nav instead:
my profile | logout | contact
For the 1st nav I inserted this code in my child's header.php, right after
do_action( 'catchbox_headercontent' ); ?>
<div id="header-nav">
<a title="login" href="http://mywebsite.com/login/">Login</a> | <a title="member" href="http://mywebsite.com/?page_id=65">Become a member</a> | <a title="Contact" href="mailto:myname@mywebsite.com">Contact</a>
</div>
It works.
Do I need javascript to replace the 1st nav with the 2nd? What would be the proper code?
And once a user is connected, how can I add some kind of tab indicating this status?
Thanks for your help.