Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change text on Registration page


  • Eskymo
    Participant

    @eskymo

    I would like to change the text on the Registration page. Namely:

    “Create an Account”

    and

    “Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.”

    I’ve got buddypress installed and I’m running a theme called ‘Buddy’ through a child theme called buddy-child.

    I’ve looked through the buddypress folder and found this file containing the text I want to change.

    buddypress/bp-themes/bp-default/registration/register.php

    What is the best way to make the changes to this file without altering the default plugin file so my changes don’t get overwritten if I update?

    As it’s a plugin file and not a theme file I’m not sure what to do? Can I copy it into my child theme?

    Please advise.

    Thanks

    Evie

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

  • Eskymo
    Participant

    @eskymo

    OK, I’ve gone through the buddypress plugin folder and found all instances of the words ‘Create an Account’ and there is only one file in which added edits will appear on the site and it’s this file:

    /wp-content/plugins/buddypress/bp-members/bp-members-screens.php

    How can I add this file to my buddy child theme so that I can make the text changes I require so that I’m not edited core plugin files?

    However this doesn’t help with wanting to edit the ‘Registering for this site is easy….’ bit of text. So Can anyone help with a complete solution here?

    Thanks


    danbp
    Moderator

    @danbp

    The easiest way for that is to use the language file.

    Customizing Labels, Messages, and URLs


    Eskymo
    Participant

    @eskymo

    Hi danbp

    I’ve read through that before and it doesn’t sound so easy to me.

    I’m not a PHP, BuddyPress or WordPress expert I’m afraid, so editing core files is not something I feel comfortable doing. Plus if I wanted to add an image where would I do that? That’s why I was hoping there was a way to do this using a template file as I want to do more than just change the page title.

    I don’t know how to generate a .MO file and I wouldn’t know how to edit a .PO or a .MO file either or what to put in them.

    If you offer any further support, that’d be great.

    So far, I’ve copied this file: buddypress/bp-themes/bp-default/registration/register.php into my child theme and edited it and added content form tips where I want them, but I’m still left with the ‘Create an Account’ text at the top that I can’t get rid of – any ideas?

    Evie


    Henry Wright
    Moderator

    @henrywright

    There is a guide available showing how to get started with Poedit. It isn’t technically demanding, but you do need to follow the steps carefully. Hope this helps!

    https://make.wordpress.org/polyglots/handbook/tools/poedit/


    danbp
    Moderator

    @danbp

    As it only concern 2-3 strings, poEdit would be too much. Use an online converter tool. See http://po2mo.net/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change text on Registration page’ is closed to new replies.
Skip to toolbar