https://buddypress.org/2009/05/customizable-slugs-in-buddypress/
It’s actually as simple as defining the slugs you want to use in your wp-config.php file. All the slugs for every built in component can be changed. Here’s a list of settings you can add (with some alternate slugs already set), that will change the slugs for each component:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| define ( 'BP_ACTIVITY_SLUG' , 'streams' ); define ( 'BP_BLOGS_SLUG' , 'journals' ); define ( 'BP_MEMBERS_SLUG' , 'users' ); define ( 'BP_FRIENDS_SLUG' , 'peeps' ); define ( 'BP_GROUPS_SLUG' , 'gatherings' ); define ( 'BP_MESSAGES_SLUG' , 'notes' ); define ( 'BP_WIRE_SLUG' , 'pinboard' ); define ( 'BP_XPROFILE_SLUG' , 'info' ); /* Some other non-component slugs */ define ( 'BP_REGISTER_SLUG' , 'signup' ); define ( 'BP_ACTIVATION_SLUG' , 'enable' ); define ( 'BP_SEARCH_SLUG' , 'find' ); define ( 'BP_HOME_BLOG_SLUG' , 'news' ); |
No comments:
Post a Comment