Title: WordPress core files
Last modified: August 30, 2016

---

# WordPress core files

 *  [Kephus](https://wordpress.org/support/users/kephus/)
 * (@kephus)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wordpress-core-files/)
 * Where are the wordpress core files located? I’ve somehow added a line of code
   that appears above all pages in WP edit and on my site.
 * [http://i13.photobucket.com/albums/a262/Kephus/Mobile%20Uploads/Picture_zpswrsmi89q.jpg](http://i13.photobucket.com/albums/a262/Kephus/Mobile%20Uploads/Picture_zpswrsmi89q.jpg)
 * [https://wordpress.org/plugins/wpide/](https://wordpress.org/plugins/wpide/)

Viewing 1 replies (of 1 total)

 *  [shanept](https://wordpress.org/support/users/shanept/)
 * (@shanept)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-core-files/#post-6846550)
 * Hi Kephus,
 * Sorry that you have gone so long without a reply. It seems the WPide plugin has
   become inactive, so I am creating a fork of the plugin, called AceIDE.
 * I can see from your photos that the WPide root directory is the wp-content directory.
   I would expect that whatever issue was presented here would be in one of the 
   files in your wp-content directory, most likely under files.
 * However, to answer your question, “Where are the core files?”
 * The core files are in the directory above the WPide root directory. You can modify
   the root directory of WPide with the “wpide_filesystem_root” filter, as follows:
 *     ```
       function __return_abspath() {
           return ABSPATH;
       }
       add_filter('wpide_filesystem_root', '__return_abspath');
       ```
   
 * You can place this in your functions.php if you like. However personally, I prefer
   to create a file in the plugins directory with this code then activate the plugin.
 * Please note that after changing the filesystem root, you will have to refresh
   your IDE to make it aware of the new root.
 * Also, you must exercise caution. This will allow you more control over your install
   however technically you shouldn’t *need* to edit anything outside of wp-content,
   with the single exception of wp-config.php in some circumstances.
 * With great power, comes great responsibility!
 * Kind Regards

Viewing 1 replies (of 1 total)

The topic ‘WordPress core files’ is closed to new replies.

 * ![](https://ps.w.org/wpide/assets/icon-256x256.png?rev=2769504)
 * [WPIDE - File Manager & Code Editor](https://wordpress.org/plugins/wpide/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpide/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpide/)
 * [Active Topics](https://wordpress.org/support/plugin/wpide/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpide/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpide/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [edit](https://wordpress.org/support/topic-tag/edit/)

 * 1 reply
 * 2 participants
 * Last reply from: [shanept](https://wordpress.org/support/users/shanept/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-core-files/#post-6846550)
 * Status: not resolved