How to Add Custom CSS to WordPress Admin Page Only

| Last Updated: | In: WordPress, WordPress Beginners, WordPress Snippets


In this tutorial, I will explain how to add custom CSS to WordPress admin page only. It will help while you are creating a custom WordPress plugins for the client or for your personal need. Sometimes we need to add some custom CSS code to style our admin pages.

How to Add Custom CSS to WordPress Admin Page Only

Add below code at the end of the wp-contents/themes/your-theme-folder/functions.php file.

You can also add any external CSS file by applying the below code inside wp-contents/themes/your-theme-folder/functions.php file.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , , , , , ,