Add a custom message to the login screen

Adding this snippet to the functions.php of your wordpress theme will let you create a custom message to display on the login screen.


function custom_login_message() {
$message = '<p class="message">Welcome, if you haven't already read our <a href="#">terms of service</a> please do so before you register.</p><br />';
return $message;
add_filter('login_message', 'custom_login_message');

Leave a comment