One of the things I do for my clients when developing a WordPress powered website is to update the admin login logo. It is a nice, simple touch that goes a long way.
Normally, the WordPress logo is shown on the wp-admin and wp-login pages. The logo is also linked to wordpress.org. We’ll change that to a custom link.
You can change the URL of the login logo with the
login_headerurl filter. You can change it to anything you’d like.
login_enqueue_scripts filter, we are adding custom CSS to the admin and login pages. I like using an SVG for the background image of the login logo, constraining the size with the
I always keep the width of the background image to 276px and make the height whatever it needs to be after scaling it. This creates a nice enough image size where we don’t have to create any extra styles for mobile. Make sure to change the border colors to match your clients’ palette.