Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: buddybar menu add-ons


r-a-y
Keymaster

@r-a-y

Add an else statement to the code Boone posted.

<?php if(is_user_logged_in()) : ?>
<a href="LINK TO WHERE YOU WANT THE LOGGED IN USER TO GO"><img src="YOUR BUTTON" alt="" /></a>
<?php else : ?>
<a href="LINK TO WHERE YOU WANT PEOPLE WHO ARE NOT LOGGED IN TO GO"><img src="YOUR BUTTON" alt="" /></a>
<?php endif; ?>

Sorry for the caps! ;)

Skip to toolbar