I'd like to hide the login/pass fields after a user has logged in and there are some other things I would like to hide or be available only to registered users.
Can anyone help?
I'd like to hide the login/pass fields after a user has logged in and there are some other things I would like to hide or be available only to registered users.
Can anyone help?
Ok, I so figured out the <?php if ( bb_is_user_logged_in() ) : ?> tags to display items to users that are logged in. Now how can it be used to hide things from people that are logged in?
There is a lack of documentation on functions it seems. That or I'm just not looking in the right places.
Not tried this but usually with functions you can put in an exclamation mark in to what you had for not logged in.
<?php if ( !bb_is_user_logged_in() ) { ?>
show to those not logged in
<?php } ?>
Sorry if that's obvious and you've already tried it.
Thank you!
I'm still a little new at this so I appreciate the help with what was more then likely a very simple question. It worked after I modified it a little.
<?php if ( !bb_is_user_logged_in() ) : ?>
show to those not logged in
<?php endif; ?>
You must log in to post.