Changing slugs with bp-custom.php: No change!
I thought I wanted to do something relatively simple. I wanted to change all instances of the word “Group” to “Task Force.” I read the instructions at http://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/ and read multiple forum posts on the subject and created a bp-custom.php file which I added to the /wp-content/plugins/buddypress and it contains the following:
/* hacks and mods will go here */
define ( ‘BP_GROUPS_SLUG’, ‘taskforces’ );
So now presumably my groups directory should be http://bp.my-site.com/taskforces/ right?
Also, any instance of the word “groups” will appear as “taskforces” instead right? (Or is that wholly dependent on the theme? I basically want the word “groups” to disappear entirely)
Well, sadly, none of the slug alteration stuff seems to work. At all.
I am using the latest WP 3.4.2 and BP 1.6.1 – We are hosted at MediaTemple on a linux server and this instance of BuddyPress is, as implied by the fake domain name above, a subdomain.
I managed to alter some instances of “Groups,” changing them to “Task Forces” (with a space) by altering my theme files but the slugs? Nothin’ doin… Any idea why this is happening? Thanks!
- The topic ‘Changing slugs with bp-custom.php: No change!’ is closed to new replies.