Re: Make your own custom BuddyPress page
we put this code in /wp-content/themes/bp-sn-parent/functions.php and created a page in the same directory called dashboard.php
is there a reason why we cant navigate to the dashboard.php?
// creates custom page
define('BP_DASHBOARD_SLUG', 'dashboard');
function bp_show_dashboard_page() {
global $bp, $current_blog;
if ( $bp->current_component == BP_DASHBOARD_SLUG && $bp->current_action == '' ){
// The first variable here must match the name of your template file below
bp_core_load_template( 'dashboard', true );
} }
add_action( 'wp', 'bp_show_dashboard_page', 2 );
//
end custom page
any help is appreciated!