Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Login URL

@robin-w

Moderator

if you update to bbp-style-pack 4.5.9 and then

Put this in your child theme’s function file –

ie wp-content/themes/%your-theme-name%/functions.php

where %your-theme-name% is the name of your theme

or use

Code Snippets

add_action ('bsp_form_topic_login' , 'rew_redirect' ) ;
add_action ('bsp_form_reply_login' , 'rew_redirect' ) ;

function rew_redirect () {
	if ( ! is_user_logged_in() ) {
		echo '<ul><li><a href="http://www.mysite.com/login">Click here to log in</a></li></ul>' ;
	}
}

amending the url to what you want, and amend the text as well if you want to

Skip to toolbar