Title: css/js includes best practice for plugin (developing my own plugin)
Last modified: August 22, 2016

---

# css/js includes best practice for plugin (developing my own plugin)

 *  [erj145](https://wordpress.org/support/users/erj145/)
 * (@erj145)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cssjs-includes-best-practice-for-plugin-developing-my-own-plugin/)
 * Hello –
 * Sorry if this is the wrong place to post, please move if it is.
 * I’m starting to get into plugin development for WordPress and would like to know
   if anyone has a recommendation for how to go about loading CSS/Javascript files
   for the following scenarios:
 * 1) Any files I feel should always be loaded as long as the plugin is active.
 * 2) Any files that should only be used for the pages used to manage plugin settings.
 * 3) Any files that should be loaded for a specific page/content piece. I.E. Include
   a css file and js file wherever a certain form generated by the plugin is displayed.
 * Thanks in advance.

The topic ‘css/js includes best practice for plugin (developing my own plugin)’ 
is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [erj145](https://wordpress.org/support/users/erj145/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/cssjs-includes-best-practice-for-plugin-developing-my-own-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
