How To Display A Custom Message On The WordPress Registration Page

Custom Registration Message

WordPressDisplaying 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.
Down 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.

Down The message will be displayed below the username and email boxes and above the register button. (Pictured below)

Custom WordPress User Registration Message


Sean Doyle

http://Botcrawl.com

Sean Doyle is an engineer from Los Angeles, California. Sean's primary focuses include Internet Security, Web Spam, and Online Marketing.