Title: Splitting CORE WordPress files from THEME?
Last modified: August 22, 2016

---

# Splitting CORE WordPress files from THEME?

 *  [killyman](https://wordpress.org/support/users/killyman/)
 * (@killyman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/splitting-core-wordpress-files-from-theme/)
 * Not sure if this is the correct area to post this question, but here goes nothing…
 * I’m creating a WordPress site for a client who is in a large company and has 
   nothing to do with the technology department. I got some info about how I need
   to integrate the WordPress site into their system. I’m using the latest version
   of WordPress with a premium theme purchased on ThemeForest.net.
 * Can anyone tell me if it will not be possible to integrate a standard WordPress
   site with a premium theme (and child theme) into such a system as outlined below?
   Any feedback would be much appreciated. Thanks.
 * **WPMGPress File Structure**
    We no longer use the traditional WordPress structure(
   everything in the [_docroot]/wordpress directory_) and have split the CORE WordPress
   files into their own folder, _/var/www/dev.wpmgpress.example.com/docroot/wpmgpress_,
   which is separate from files specific to a given site which are now in the _/
   var/www/dev.wpmgpress.example.com/docroot/site-content_ folder.
 * WPMGPress allows for two plugins folders. One in site-content (_/var/www/dev.
   wpmgpress.example.com/docroot/site-content/plugins_); the other is in the core
   section (_/var/www/dev.wpmgpress.example.com/wpmgpress/wpmg-plugins_).
 * **GitHub Repository Structure**
    The connection to GitHub is done by connecting
   to three different repositories. The WPMGPress core repo, the WordPress base 
   install, and the site’s own repository.
 * **WPMGPress Core Repository**
    Connecting to a site via a GIT submodule, the 
   core repository contains the WordPress core files as well as some third-party
   plugins and all of the various WPMGPress plugins.
 * **WordPress Base Install Repository**
    Used when initially setting up a site,
   this repository contains the file structure used on all versions of WPMGPress.
   Within that is a default Master Theme in the Themes folder and some third-party
   plugins inside of the plugins folder. We maintain a connection to this repository
   via a remote “upstream”. With this connection we can update files in the base
   install and send those changes to the individual sites.
 * **Individual Site Repository**
    This repository contains all files which are 
   unique to an individual site.

Viewing 1 replies (of 1 total)

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/splitting-core-wordpress-files-from-theme/#post-5280790)
 * It sounds like they’re [giving WordPress its own directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
   and [moving wp-content](http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder)
   to be next to the WordPress directory, which is not an unusual WordPress setup.
 * This shouldn’t change anything you do, but It sounds like you’ll need to treat/
   var/www/dev.wpmgpress.example.com/docroot/site-content as wp-content and place
   any theme/plugin files there.

Viewing 1 replies (of 1 total)

The topic ‘Splitting CORE WordPress files from THEME?’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 1 reply
 * 2 participants
 * Last reply from: [jkovis](https://wordpress.org/support/users/jkovis/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/splitting-core-wordpress-files-from-theme/#post-5280790)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
