Using BAW in Template design
-
Hello All,
Im trying to work out a menu which is only for customers.
I use this code in for the menu in the template:
<?php if ( is_user_logged_in() ) { echo '<a href="#">Dashboard</a><a href="#">Support</a><a href="#bawlogout#" title="Signout">Sign out</a>'; } else { echo '<a href="#">Client Login</a>'; }; ?>
This sadly isn’t working. I think it can be fixed by defining it with the normal WP Codex for login links, but sadly all ways i’ve tried have failed.
As you can see, im still learning php basics, so if someone could give me a hand, would be awesome.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using BAW in Template design’ is closed to new replies.