BuddyDev

Better member type directory title for BuddyPress

Are you using BuddyPress member types on your site? If yes, you might have noticed the issue with member type directory title. In our forum, one of our members asked about it. Since I thought It may benefit more people, here is the code with an example.

Screenshot:- Member type directory title default

Note the page title, for Teachers member type directory, It is still showing "Members"

Screenshot 2:- Updated Member type directory title

Note the title, Now it uses the name of the registered member type in directory title.

Code:-

You can put the following code to your bp-custom.php or your theme's functions.php

Enjoy!

Comments are closed.