Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom URL’s


  • Anton
    Participant

    @antonrsa

    I have changed the slug of the Groups directory by adding this to the wp-config file define( “BP_GROUPS_SLUG”, “mycustomslug” );

    I’m taking a different approach to “Groups” in general so I have also created a custom .pot file for the new name I have given it. Where can I change the URL slug when creating a new group? When you create a group it still displays the URL …./group-settings/

    I want to replace all occurrences of the word “group” in the URL. Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • looks like a number of those values are hard-coded in the group component… such as:

    if ( $bp->current_component == $bp->groups->slug && 'group-settings' == $bp->action_variables[0] ) {


    Anton
    Participant

    @antonrsa

    Thanks @nuprn1 it’s also on the default theme groups/create.php so will have to change it there as well?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom URL’s’ is closed to new replies.
Skip to toolbar