WordPress Snippets at WPcustoms

Change login box message

Do you want to change the html on your wp-login.php page? Easy with this snippet. Insert an image is also possible with html.


/**
 * Snippet Name: Change login box message
 * Snippet URL: http://www.wpcustoms.net/snippets/change-login-box-message/
 */
 function wpc_login_message( $message ) {
    if ( empty($message) ){
        return "

Welcome! Login on this page.

"; } else { return $message; } } add_filter( 'login_message', 'wpc_login_message' );