Title: WordPress Core File Structure
Last modified: June 15, 2021

---

# WordPress Core File Structure

 *  [Ted](https://wordpress.org/support/users/teddytime/)
 * (@teddytime)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-core-file-structure/)
 * Hey People! 🙂
 * Iam a software developer interested in contributing to the core of WordPress.
   I have already set everything up on WAMP and have everything running and have
   installed WordPress on my machine
 * One question I have is how the code is structure. I already know of the main 
   folders and what they are used for like wp-admin (main for backend admin code)
   and wp-content (for front end content).
 * However, what is the wp-includes generally used for?
 * Also, I can see that all 3 folders have js folders that are ignored by SVN. Am
   guessing these contain 3rd party code and JavaScript plugins. If so, where do
   we add custom js code?
 * I know this are newbie questions but I need to get the lay of the land before
   I can look at code at a deeper level.
 * Thanks Guys 🙂

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-core-file-structure/#post-14562749)
 * The wp-includes is for code that is used in both the admin and front end.
    The
   wp-content is not quite “front end content”, but for things that change according
   to what the user does, like install plugins and themes, and also upload media.
 * > If so, where do we add custom js code?
 * Most of the scripts are custom JS code, meaning that it is written for WP to 
   handle stuff on admin pages. Some of it is third-party JS, which is bundled for
   use by the admin scripts or by the theme or plugins. Obviously, if you contributed
   to adding more JS to WP, it would go in the folder for where it is used. If you
   are simply trying to add some JS for a single site, you would put it in a WP 
   plugin.
 * Perhaps this is the page you need: [https://make.wordpress.org/core/handbook/contribute/codebase/](https://make.wordpress.org/core/handbook/contribute/codebase/)
   
   Components: [https://make.wordpress.org/core/components/](https://make.wordpress.org/core/components/)

Viewing 1 replies (of 1 total)

The topic ‘WordPress Core File Structure’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-core-file-structure/#post-14562749)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
