Custom template
-
Instead of the default fallback
members/single/plugins.php
I would like to use a custom template part for displaying followers / following members, like it does forelseif ( bp_is_user_friends() ) : locate_template( array( 'members/single/friends.php' ), true ); elseif ( bp_is_user_groups() ) : locate_template( array( 'members/single/groups.php' ), true ); elseif ( bp_is_user_messages() ) : locate_template( array( 'members/single/messages.php' ), true ); elseif ( bp_is_user_profile() ) : locate_template( array( 'members/single/profile.php' ), true );
How do I do this ? what is the case switch ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom template’ is closed to new replies.