Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,864
- How-to & Troubleshooting
- 128,918
- Creating & Extending
- 25,744
- Requests & Feedback
- 9,447
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,390
- Miscellaneous
- 9,136
-
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