BuddyDev

Using WordPress Page Titles for BuddyPress Directory Page heading & Titles

If you are using BuddyPress, you might have already noticed it. The directory titles are hard coded and can not be changed by just changing the page title. You can still change it by translating the languages file.

While Building our upcoming BuddyPress theme, Community Builder, I wanted the site admins to have more freedom. I experimented a little and It worked. Here is the code that you can put in your bp-custom.php. Once you have put the code, BuddyPress directory will use your WordPress page title instead of the hard coded title.

This Code allows you to change the title of the following BuddyPress pages:-

  • Members Directory page
  • Groups directory page
  • Blogs Directory
  • Activity
  • Registration Page
  • Account activation page

There is already a ticket about the issue on BuddyPress trac and It seems something similar is going to be part of BuddyPress 2.6.0. You may check the ticket here. Enjoy your weekend. Next week, We will be back with more BuddyPress tips 🙂

4 Responses to Using WordPress Page Titles for BuddyPress Directory Page heading & Titles

  • The link to the ticket is broken.

  • Thanks a lot for your help … Could I use the code and add the code to —- child-theme folder/buddypress/bp-custom.php

    • Hi Eric,
      Thank you.
      You can put it in your theme's functions.php or the wp-content/plugins/bp-custom.php

      Hope that helps.
      Regards
      Brajesh