Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Create a page


nickmy
Participant

@nickmy

I found it but it doesnt work???

define(‘BP_EXAMPLE_SLUG’, ‘fun’);
function bp_show_example_page() {
global $bp, $current_blog;

if ( $bp->current_component == BP_EXAMPLE_SLUG && $bp->current_action == ” ) {
// The first variable here must match the name of your template file below
bp_core_load_template( ‘fun’, true );
}
}
add_action( ‘wp’, ‘bp_show_example_page’, 2 );

It worked on the old version

Skip to toolbar