Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create a page

Viewing 1 replies (of 1 total)

  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Create a page’ is closed to new replies.
Skip to toolbar