Add custom CSS to WordPress Admin

1
2
<?php
add_action('admin_head', 'custom_css');
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This snippet allows custom CSS file to be loaded into WordPress admin header. I set to the CSS path pointing to theme folder. This script should put inside functions.php in your theme.

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.