Forums
-
- Forum
- Posts
-
- Installation
- 27,623
- Troubleshooting
- 60,561
- Themes
- 10,191
- Plugins
- 14,975
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
The cleanest way of doing this hasn’t been mentioned. Instead of using echo commands, it’s a lot easier to just wrap HTML.
<?php if ( bb_is_user_logged_in() ) : ?>
this
<?php elseif : ?>
not this
<?php endif; ?>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS