[buddypress-trac] [BuddyPress Trac] #4130: Grab component page title from the WordPress page title. (was: Add admin panel options to change component names and slugs)

buddypress-trac noreply at wordpress.org
Wed Apr 23 18:14:38 UTC 2014

#4130: Grab component page title from the WordPress page title.
 Reporter:  sooskriszta     |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  All Components  |     Version:  1.5.4
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
Changes (by sooskriszta):

 * cc: vivek@… (added)
 * keywords:  needs-ui => needs-patch
 * component:  UX/UI => All Components


 Slug constants are deprecated: http://codex.buddypress.org/getting-
 which is '''mostly''' fine as BuddyPress asks you which page to use for
 each component (e.g. Groups, Members etc) and even creates the pages for
 you. if you want to change the slug, no sweat...just edit the page
 normally in WordPress and change the slug as you would for any normal page
 or post. Fantastic!

 However, the problem is that in the frontend, instead of using the page
 titles as set in WordPress, BuddyPress continues to use hardcoded
 component names as the page titles. e.g. If you tell BuddyPress to use the
 page Schools (with slug schools) as the Groups list/page, then BuddyPress
 faithfully uses the correct page, and the slug is schools. But when you
 visit the page in frontend, the title shown is Groups, not Schools. This
 can't possibly be correct. BuddyPress should grab the page titles from
 WordPress too.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4130#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list