If you are allowing folks to register for your WordPress site, here’s a handy tip you can use to add a message to the standard registration page. (See the image below). Simply add the following code snippet to your functions.php file:

add_action('register_form', 'register_message');
function register_message() {
    $html = '</pre><div style="margin: 10px 0; border: 1px solid #e5e5e5; padding: 10px;">Thank you for joining our site!</div><pre>
    echo $html;

Replace the text; ‘Thank you for joining our site!’ with whatever you wish. Don’t get too carried away with the amount of text you’re adding as there is only so much room to work with here. However, you can make certain adjustments by changing the inline CSS in the code above.

That’s it, enjoy!

Registration Form Custom Message
Share This