Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration – top paragraph


  • kimo130875
    Participant

    @kimo130875

    I have the latest version of both – WordPress and Buddy press

    How do I customize the paragraph which says now: “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.”

    Where do I go to change that?

    Thank you!

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

  • shanebp
    Moderator

    @shanebp

    It depends on which template pack you are using.

    For Legacy, it is this template file:
    buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    Overload that template by copying it to a directory that you create in your child-theme:
    buddypress\members\ and make your changes.

    If you are using Nouveau, it is more difficult. This is the file:
    buddypress\bp-templates\bp-nouveau\includes\functions.php
    It is not a template file, so your choices are:
    1. hack the file and redo the hack every time you update BP – not recommended
    2. use a language translator
    3. write a filter function

    function kimo_change_nouveau_string( $array ) {
    
    	$array['request-details']['message'] = "This is your custom message";
    
    	return $array;
    
    }
    add_filter( 'bp_nouveau_feedback_messages', 'kimo_change_nouveau_string', 20, 1 );

    Paste the function in your theme/functions.php or in bp-custom.php
    Test to make sure it is working.
    Then adjust the message to your liking.


    kimo130875
    Participant

    @kimo130875

    It did not work 🙁


    kimo130875
    Participant

    @kimo130875

    And I am using Nouveau.

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