adding member directory to a tab
-
I am wanting to add the members directory under the profile and click it and it shows all members under that persons profile. Exactly like activity and settings with the options below. What i have done so far since the member directory code is already there i created a allmembers.php file and moved it to the members/single folder. Then created a folder called members and stuck in the members-loop.php. I then added this line in the home.php in the single folder.
locate_template( array( ‘members/single/allmembers.php’ ), true );
I am unsure if this is the correct way to add a tab and function. I am trying to add the tab via the bp-custom.php but i am hung up on the syntax.
Can anyone help point me in the right direction. All the tutorials i find are outdated on adding tabs and this type of functionality.
I am using latest wordpress and buddypress 1.9
Or am i going about this all wrong and there is a slug for member profile that i can use ?
- The topic ‘adding member directory to a tab’ is closed to new replies.