Re: Make your own custom BuddyPress page
Hey Guys, I still can’t get this to work? I am on bp ver 1.1
Maybe things got changed in the update that would effect the way this works? I really need to have custom pages for this to work for my site. Again, to recap, here is what I have done:
put the below code into : (wordpress mu and buddy press are installed into subfolder)
mysite/subfolder/wp-content/themes/bp-sn-parent/functions.php and created a page in the same directory called dashboard.php
CODE:
// 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
URGENT: Need to figure this out!!!!