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!
    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

Sean Doyle is a tech author and engineer with over 20 years of experience in cybersecurity, privacy, malware, Google Analytics, online marketing, and other topics. Sean's content has been featured in numerous publications.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.