Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to edit the text in registration page


  • Larenholtz
    Participant

    @larenholtz

    Trying to find where to edit the text above the fileds in create account page.

    ThankĀ“s for help

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

  • shanebp
    Moderator

    @shanebp

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    And carefully adjust it to your needs.


    shughesd
    Participant

    @shughesd

    Hello,

    I have the same query and did as instructed- created a buddypress folder in my child them, pasted the registration.php file, and made the changes there. However the changes do not render.

    Do I have to do something else with the original register.php page in order for this to work?

    Thank you!


    danbp
    Moderator

    @danbp

    Hi @shughesd,

    for clarification, the first topic author mentionned Trying to find where to edit the text above the fields.
    Are you looking for the exact same thing ?
    Is register.php in the right folder ? /child/buddypress/members/register.php ?

    The only text above the fields when registration is allowed is
    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.

    You have 2 options to edit/modify this string:
    – using the language file if you only want to change the text.
    – modify it in register.php if you want to change the HTML tag (by default it’s <p>)

    Other text above fields is the field title.
    This can be changed in fields admin. Dashboard > Users > Profile Fields. Edit the field and change the title to your need.

    And finally, which doesn’t need any alteration of a template or language file, you can use one of the 30 action hooks existing in register.php

    You can write a function and hook it to the placeholder of your choice. To do this, you add the below functions to bp-custom.php

    Example
    Add a welcome message at the top of the registration page, above Registering for this site.
    And another one below it.

    function my_custom_register_msg_title() {
    echo '<h2>Welcome on my site !</h2>';
    }
    add_action( 'bp_before_register_page', 'my_custom_register_msg_title' );
    
    function my_custom_register_message() {
    echo '<p>Thank you for registering.</p>';
    }
    add_action( 'bp_before_account_details_fields', 'my_custom_register_message' );

    In hope it helps you to understand the principle of operation on templates.


    skyevanthoff
    Participant

    @skyevanthoff

    Love to comment on Google it.


    benjr08
    Participant

    @benjr08

    BuddyPress comes with many parts that integrate directly with your site, each other, and even other plugins (check out bbPress in the support forums.) We got paper writers for hire now. If you just want to use some features, BuddyPress will automatically adapt, showing only menu items. , pages, and buttons for the aspects you have allowed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar