-
-
Save cliftoncanady/cd056d82db09a05f7b62 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Login Logo Custom CSS | |
Description: Custom CSS for the login screen | |
Version: 0.1 | |
License: GPL version 2 or any later version | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ | |
class CWS_Login_Logo_Custom_CSS_Plugin { | |
static $instance; | |
const HANDLE = 'cws-login-logo-custom-css'; | |
const VERSION = 1; // Increment this when you update the CSS | |
public function __construct() { | |
self::$instance = $this; | |
add_action( 'login_head', array( $this, 'login_head' ), 1 ); | |
} | |
public function login_head() { | |
wp_register_style( self::HANDLE, plugin_dir_url( __FILE__ ) . 'login.css', array(), self::VERSION ); | |
wp_print_styles( self::HANDLE ); | |
} | |
} | |
// Bootstrap | |
new CWS_Login_Logo_Custom_CSS_Plugin; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CUSTOM CSS HERE */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment