hide content unregistered users
I would like to hide some content from unregistered users but do not get the syntax right… Would be very thankful for your help!!
I would like something like this with the php plugin:
<?php if ( bb_is_user_logged_in() ) : ?>
HTML content for registred user
<?php else : ?>
HTML content for unregistred user
<?php endif; // bb_is_user_logged_in() ?>
I tried [php] if….[/php] and [php if … /php] and other versions, but do not understand how to use it…
- The topic ‘hide content unregistered users’ is closed to new replies.