• Resolved Olivier Behot

    (@olivier-behot)


    Good morning,
    I would like to modify the text of the sign up button. How to do ?
    Thank you for your help

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Muhammad Arslan

    (@wparslan)

    Hey @olivier-behot

    If you want the register button on the register page, that is not possible with a designated hook.

    You can use “gettext” hook though.

    add_filter( 'gettext', 'loginpress_change_keyword' );
    
    /**
      * Change Register link text on the login form
      *
      * @param $text string 
      * @return $text string
     */
    function loginpress_change_keyword( $text ) {
     
        $text = str_ireplace( 'Register', 'Sign Up Now', $text );
    
        return $text;
    }

    Kindly copy and paste the following in the functions.php file of your theme.

    Here is the resulted output: Helping screencast

    Have a nice day

    Thread Starter Olivier Behot

    (@olivier-behot)

    Thx a lot !

    Have a nice day toot ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change text button’ is closed to new replies.