Login Logo

May 10, 2022

Login Logo Plugin

Customize the logo on the WP login screen by simply dropping a file named login-logo.png into your WP content directory. CSS is automatic!

This plugin allows you to customize the logo on the WordPress login screen. There is zero configuration. You just drop the logo file into your WordPress content directory, named login-logo.png and this plugin takes over.

Note that you should use a transparent background on the PNG image, crop it tightly (no padding pixels) and use a width of exactly 312 pixels for best results. Wider images will be downscaled in modern browsers, but it isn’t recommended to rely on that.

This plugin also works in the mu-plugins directory.

Installation

  1. Install the plugin and activate it.

  2. Create a PNG image with a transparent background, tightly cropped, with a recommended width of 312 pixels.

  3. Upload the PNG image to your WordPress content directory (/wp-content/, by default), and name the file login-logo.png.

  4. If you have a multisite install with more than one network, you can also use login-logo-network-{NETWORK ID}.png to assign a different login logo to each network.

  5. If you have a multisite install, you can also use login-logo-site-{$blog_id}.png to assign a different login logo to each site.

  6. Done! The login screen will now use your logo.

Screenshots

  1. <p>A login screen with a custom logo</p>

    A login screen with a custom logo

  2. <p>A source image</p>

    A source image

Changelog

0.10.2

  • Bumped supported version

0.10.0

  • Updated depreciated filter “login_headertitle” to “login_headertext” with compatibility for older WordPress versions
  • Tested with WordPress 5.2.1

0.7

  • The “title” attribute of the header link matches the WordPress site title instead of saying “Powered by WordPress”.
  • The URL for the login logo includes “versioning” based on last file modification date, for browser cache flushing.

0.6

  • You can provide login-logo-site-{$blog_id}.png to have a different logo per multisite site.
  • Support for WordPress 3.4
  • Changed the ideal image width to 312 pixels, and instituted a tighter crop policy.

0.5

  • Support for WordPress 3.3
  • Fix a bug in CSS resizing of oversized images

0.4

  • Use HTTPS if is_ssl() on the login page.

0.3

  • The login logo now links to your site, instead of WordPress.org
  • If you don’t have a custom login logo, the plugin does nothing.
  • You can provide login-logo-network-{NETWORK ID}.png to have a different logo per multisite network.

0.2

  • Do not use background-size unless the image is more than 326 pixels

0.1

  • Original version

Details

  • Version: 0.10.2
  • Active installations: 50,000
  • WordPress Version: 5.1.2
  • Tested up to: 5.9.10

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars