Right now, my login page shows the Wordpress logo. How do I change it to my logo?
|
|
Here is a pretty simple approach to changing the logo. Mark Jaquith of WordPress released a plugin that allows you to upload an image which will be shown on the login page instead of the WP logo. |
|||
|
|
|
I'd personally do it like this.. Hook on login head and inject some extra CSSHook in late, and your styling will go in after the login css inclusion, so you're less likely to need !important to force styles.
One function, one hook, job done.. Hope that helps... If you want to go a step further and totally seize control of the login CSS keep reading, else just ignore what follows, i'm going to post it anyway, for the sake of others wanting to totally hijack login CSS.. Intercepting the enqueueHook onto
The second variable helps the filter determine what enqueue is being called, and updates the src when it matches the
I used Styling the loginCreate the file referenced in the above function inside your theme's folder, so following the example customlogin.css. Copy the code from this pastebin, paste it into the newly create CSS file and save. Now simply make whatever changes you like inside that file. One caveat to note here, is that the login file uses relative paths for images, so the stylesheet as is will point at non-existant images.
|
|||||
|
|
Lots of plugins and variations - custom login wordpress - Google Search - but basically: Goes in your theme's functions.php file:
And make a file called login.css for your theme directory and make CSS changes there:
|
|||||||||||||||
|
|
This article by WPEngineer should get you started on changing the logo, name, and link of your Wordpress login page. |
|||
|