Custom Login for Mystique WordPress Theme
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.
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:
endif; endif; >
Paste the following code between the endif; statements.
function custom_login() {
echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo('template_directory') . '/custom-login/custom-login.css" />';
}
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!


