612-293-8629 HELLO@THEMIGHTYMO.COM

I needed to add a simple message to the WordPress login screen today. I wanted to add it just below the WordPress logo.

Here is my final result:

Here is the final result of my efforts

While digging around in wp-login.php, I noticed that there is a filter for “message”. So, I simply added an “add_filter” function to functions.php as follows:

add_filter ( 'login_message', 'add_login_message' );
function add_login_message () {
	echo '<div class="message">MY MESSAGE HERE</div>';
}

That’s it! Based on the above, it seems like it would be pretty easy to create a plugin that does this. Heck, I wouldn’t doubt if that plugin already exists. ūüôā

Have fun!

PHONE, EMAIL, TEXT

We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.

LOCATIONS

PAYMENTS ACCEPTED

Call Now

Enroll in Our Free Beginner WordPress Class - delivered to your Email Inbox!

Become a WordPress superstar for FREE in only minutes a day!  Our free Beginner WordPress Email Class will be delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!