How To Display A Custom Message On The WordPress Registration Page
Custom Registration Message
Displaying a custom message on your WordPress blog or website’s registration page can be useful for a lot of reasons. The custom message can outline rules of your website, as well as notify users that registering to your WordPress website will notify them via email when new post are published.
In reality you can use the custom message function however you would like.
Copy and paste the snippet below into your functions.php file
add_action('register_form', 'register_message'); function register_message() { $html = ' <div style="margin:10px 0;border:1px solid #e5e5e5;padding:10px"> <p style="margin:5px 0;"> Type your message here! </p> </div>'; echo $html; }
To display your own custom message on your WordPress registration page, change “Type your message here!” to your preferred text.
The message will be displayed below the username and email boxes and above the register button. (Pictured below)