Skip to:
Content
Pages
Categories
Search
Top
Bottom

Groups Button Text

  • I am not sure what the heck is going on but I have updated the ajax.php file for my theme for the “Join Group” and “Leave Group” text with “Join Club” and “Leave Club” and the buttons do not update. Is there some place else that I need to look? I do not have any cache plugins running right now and can make the changes to text and styles everywhere expect here.

    i have been able to find every answer for my questions here and wonder if anyone has had the same issue. Basically I have changed my url slug and every reference of group to club and only have these 2 buttons making me bonkers.

    Appreciate any feedback.

Viewing 7 replies - 1 through 7 (of 7 total)

  • techguy
    Participant

    @crashutah

    Shouldn’t you be able to just change these buttons text using a language file? It’s not a good idea to modify the core files since they’ll get overwritten when you upgrade.


    stwc
    Participant

    @stwc

    The app is using the translation strings (with default verbiage) — that’s why you see stuff like __( ‘Leave Group’, ‘buddypress’ ) for example, in the code.

    You need to make a custom language file as well as changing slugs in wp-config.php (optionally). Search this forum for more info on how to create a language file and switch it on with bp-custom.php for your install. I recommend getting poedit from Sourceforge to make editing easier.


    Paul Gibbs
    Keymaster

    @djpaul

    Great. Thanks for the information and guidance. I am new to buddypress and still getting familiar with the code. The language file and other custom labels is exactly what I needed.


    stwc
    Participant

    @stwc

    @wa007 No problem. There are a few threads as well where people have offered advice on doing this sort of thing, or if you get stuck, ask back in here.


    boiy
    Participant

    @boiy

    I actually dont get it

    what is the purpose of the POEDIT application… i chaged my “join Group” to “join Us’… but the text didnt change… but when i edit from buddypress core files ‘bp_groups_template.php” .. it changes to ‘join Us’ and it is my understanding that core files arent to be tampered with… due to future update… can sumone pls explain this language file thing proparly and how i can customize my texts and strings… or is the another way


    boiy
    Participant

    @boiy

    I actually dont get it

    what is the purpose of the POEDIT application… i chaged my “join Group” to “join Us’… but the text didnt change… but when i edit from buddypress core files ‘bp_groups_template.php” .. it changes to ‘join Us’ and it is my understanding that core files arent to be tampered with… due to future update… can sumone pls explain this language file thing proparly and how i can customize my texts and strings… or is the another way

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Groups Button Text’ is closed to new replies.
Skip to toolbar