Request a Quote
Customer Focused
Web Services

Add Custom Message to WordPress Login Page

October 20, 2021
Code Category:
/*
  Add custom message to WordPress login page
*/
function SVS_login_message( $message ) {
  if ( empty($message) ){
    return "<p><strong>This login is only for Site Admins. If you are something else, please click the logo above and use the LOGIN link in the main menu.</strong></p>";
  } else {
    return $message;
  }
}
add_filter( 'login_message', 'SVS_login_message' );
Give us a call (541) 784-5711

Start a converstation


©2022 Fotan Web Design