Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,851
- How-to & Troubleshooting
- 128,868
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
Hmm. Doesn’t seem to like a numeric parameter:
Parse error: syntax error, unexpected T_LNUMBER in /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);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS