Re: Make your own custom BuddyPress page
Putting it in plugins/bp-custom.php has not helped either. All I ever get is page not found.
define('BP_ABOUT_SLUG', 'about');
function bp_show_about_page() {
global $bp, $current_blog;
if ( $bp->current_component == BP_ABOUT_SLUG && $bp->current_action == '' ) {
// The first variable here must match the name of your template file below
bp_core_load_template( '/_inc/pages/about', true );
}
}
add_action( 'wp', 'bp_show_about_page', 2 );
the file is located in _inc/pages/about.php
Can anyone see anything else?