Title: Custom Dashboard &#8211; Load css file from plugin&#039;s folder
Last modified: August 21, 2016

---

# Custom Dashboard – Load css file from plugin's folder

 *  [May_68](https://wordpress.org/support/users/may_68/)
 * (@may_68)
 * [13 years ago](https://wordpress.org/support/topic/custom-dashboard-load-css-file-from-plugins-folder/)
 * Hello every one . I have a bit of lame question . I am doing a custom dashboard
   following a [tut ](http://www.wpexplorer.com/how-to-wordpress-custom-dashboard/)
   and I want to load a css file in to the dashboard.php . Know i can use the srtaight
   link for the css file’s href but .. because i will probably end up using this
   on ohter sites too because it is soo cool i thought that `<?php bloginfo('url');?
   >` would work , but because it is an admin page , it seems no to like it much.
   plus .. im should be laoding this in the <head> but to get the rest of the style
   and of the wp-admin u have what the tut advices .
    so o load the <head>like ;
 *     ```
       require_once( ABSPATH . 'wp-load.php' );
       require_once( ABSPATH . 'wp-admin/admin.php' );
       require_once( ABSPATH . 'wp-admin/admin-header.php' );
       ```
   
 * and the footer like :
    `<?php include( ABSPATH . 'wp-admin/admin-footer.php' );?
   >`
 * Maybe i have just been staring at screens for too many hours and my head is not
   working . so what whould be the best way to load up the css flie from my plugins
   folder ?
 * I bet if there are a milion post outhere about this but if any one can just point
   it out for me it would be magnificent .
 * Thanks

Viewing 1 replies (of 1 total)

 *  [W.P. Ginfo](https://wordpress.org/support/users/wp-ginfo/)
 * (@wp-ginfo)
 * [13 years ago](https://wordpress.org/support/topic/custom-dashboard-load-css-file-from-plugins-folder/#post-3692127)
 * What’s wrong with going with ‘what works’?
    As you already pointed out… you know
   how to make things work the ‘proven’ way. KISS: Keep it short and simple. Leave
   the complicated, for things that can not be done any other way.

Viewing 1 replies (of 1 total)

The topic ‘Custom Dashboard – Load css file from plugin's folder’ is closed to new
replies.

 * 1 reply
 * 2 participants
 * Last reply from: [W.P. Ginfo](https://wordpress.org/support/users/wp-ginfo/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/custom-dashboard-load-css-file-from-plugins-folder/#post-3692127)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
