How to add login link to “You must be logged in to create new topics.”
-
Hi
I am running BBPRESS and am looking to add a login link to Add login link to “You must be logged in to create new topics.” which appears at the bottom of Topics list when you are not logged in.
I have copied out the Forum-Topic.php file and it is located in my Themes BBPRESS folder.
Code in my Forum-Topic.php that I am looking to add to is ….
<div id=”no-topic-<?php bbp_forum_id(); ?>” class=”bbp-no-topic”>
<div class=”bbp-template-notice”>- <?php is_user_logged_in()
? esc_html_e( ‘You cannot create new topics.’, ‘bbpress’ )
: esc_html_e( ‘You must be logged in to create new topics.’, ‘bbpress’ );
?>
- <?php is_user_logged_in()
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.