Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Code Snippets: Storing plugin theme files in the plugin dir (1.2)


Kapil
Participant

@techkapil

Template is not loading in case of WordPress single user…but the same code works on WPMU…

if ( $bp->current_component == BP_EXAMPLE_SLUG && !$bp->is_single_item &&

!$bp->displayed_user->id){

$bp->is_directory = true;

bp_example_load_template( ‘example/index’ );

}

and I have implemented bp_example_load_template function as given by MrMaz.

Anybody having same problem???

I am using WP 2.9.1 (Single user) with BP1.2 RC2 and WPMU 2.9.1.1 with BP 1.2 RC2

Thanks :-)

Skip to toolbar