functions.php

<?php // Adding the function to the login page add_action('login_head', 'custom_login'); // Our custom function that includes the custom stylesheet function custom_login() { echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo( 'stylesheet_directory' ) . '/custom-login.css" />'; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.