Reply To: Replace login logo

Home Forums Support Replace login logo Reply To: Replace login logo

#158551
Tom
Lead Developer
Lead Developer

I use this function on this site:

function generate_login_logo() { ?>
    <style type="text/css">
        .login h1 a {
            background-image: url('URL TO YOUR LOGIN LOGO');
        }
    </style>
<?php }
add_action( 'login_enqueue_scripts', 'generate_login_logo' );

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

To change the link etc. you may need to find a plugin.