Last active
February 3, 2019 10:51
-
-
Save nicoboni/61414c5acce5d51fa76ac0017c74b05a to your computer and use it in GitHub Desktop.
Wordpress - CSS rules for admin area
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
| //this goes in your functions.php file | |
| <?php //this line is only for the Gist syntax highlight, don't need to put it in your file | |
| function my_admin_styles() { | |
| wp_enqueue_style('admin_styles' , get_stylesheet_directory_uri().'/admin-style.css'); | |
| } | |
| add_action('admin_head', 'my_admin_styles'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment