Home » WordPress: Custom Logo @ WP Login Page

WordPress: Custom Logo @ WP Login Page

by Tutor Aspire

It’s once again WooCommerce customization time! As in the past 2 episodes (open external product in new tab and show shipping rates @ single product), I’m featuring snippets and code I personally use on my Sicilian marketplace/dropshipping business called A Piece of Sicily.

Today, I’ll quickly show you how to personalize the default WordPress login/logged out page with your custom logo and link as opposed to showing the WordPress logo and the wordpress.org image link, which to be completely honest, shouldn’t be there in the first place!

So, enjoy! You can see the live result here: https://www.apieceofsicily.com/en/login/?loggedout=true

My custom Login page: I’ve added my own logo and also made sure to link to my website and not wordpress.org

PHP / CSS Snippet: Replace WordPress Logo With Custom Logo @ WordPress Login Page

/**
 * @snippet       Replace Logo - WordPress wp-login page
 * @how-to        Get tutoraspire.com FREE
 * @author        Tutor Aspire
 * @compatible    WooCommerce 5.1
 * @donate $9     https://www.tutoraspire.com
 */

add_action( 'login_enqueue_scripts', 'tutoraspire_login_logo' );

function tutoraspire_login_logo() {
?>
    
 

You may also like