If statement for users logged in
-
Hi,
is there anyone who can help me to get this part<div class="new-reply-link"> <a href="<?php bbp_topic_permalink(); ?>#new-post "class="reply-link-text">Reply</a> </div></br> <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic"> <li class="bbp-header"> <div class="bbp-topic-author"><?php _e( 'Author', 'bbpress' ); ?> </div> <!-- .bbp-topic-author -->
into an if-statement for logged in users?
I suppose that
<?php if ( bbp_is_user_logged_in() ) { ... } ?>
does not work that simple due to the additional php within, right?
(no success so far..)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.