Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,821
- Themes
- 10,310
- Plugins
- 15,225
- Requests & Feedback
- 14,831
- 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