I’ve updated the code below so that it works properly. Sorry for any confusion this code was causing, but this should all be fixed now
I’ve been using the Mystique theme by Digitalnature for my personal blog for a few months now and after many updates, it’s really becoming quite the all inclusive design. The one thing it’s missing is a great login that’s themed along with it. So I’ve taken it upon myself to create it. You will need to makeĀ a small customization to the functions.php file for the theme but I’ll walk you through it.

Click to preview the full image
First you need to download the custom-login.zip file, unpack it, then upload the custom-login folder to your mystique folder. The directory is ‘/wp-content/themes/mystique/’.
Download custom-login.zip
Step two is modify the /wp-content/themes/mystique/functions.php’. You only need to add about 4 lines of code to the file so it’s nothing to major. Open the file you in your favorite text editor and look at the end of the file for:
add_theme_support('automatic-feed-links');
endif;
?>
Paste the following code between the add_theme_support and endif; line.
function custom_login() {
echo ' ';
}
add_action('login_head', 'custom_login');
And there you have it, a custom login screen for people using the ‘Mystique’ theme. Thanks to Pro Blog Design for the great post about ‘Custom WordPress Login Screens‘
Updated: I have modified the Code Plugin I’m using so this code should work without error now. Let me know in the comments if you have any other issues. Thanks everyone for the help!
Update 3/26 – If you are using the WordPress nightly builds for testers, this isn’t working anymore due to a CSS change in the WordPress code. I’m looking into it.
Discussions