Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Homepage other than Activity or Admin Blog (or a WP page)


stwc
Participant

@stwc

Hmm. Doesn’t seem to like a numeric parameter:

Parse error: syntax error, unexpected T_LNUMBER in D:/xampp/htdocs/testsite/wp-content/themes/bp-childtheme/functions.php on line 41

using

function xe_redirect() {
if (bp_is_front_page()) {
header("Location: http://localhost.localdomain/testsite/members/");
}
}
add_action( 'bp_init', 'xe_redirect' 1);

Skip to toolbar