Forums
-
- Forum
- Posts
-
- Installation
- 28,369
- Troubleshooting
- 62,128
- Themes
- 10,387
- Plugins
- 15,305
- Requests & Feedback
- 14,886
- Showcase
- 3,252
-
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