Title: [1.5 REQ] Theme Editor Create .php File Function
Last modified: August 18, 2016

---

# [1.5 REQ] Theme Editor Create .php File Function

 *  [philpeeps](https://wordpress.org/support/users/philpeeps/)
 * (@philpeeps)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-req-theme-editor-create-php-file-function/)
 * Is it possible to create a clickable link in the Admin Panel for the Theme Editor
   to create a .php file when a new template file is required, so theme administration
   and modification can be handled with the admin panel alone without having to 
   create a file and upload via ftp?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [othermichael](https://wordpress.org/support/users/othermichael/)
 * (@othermichael)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/15-req-theme-editor-create-php-file-function/#post-147983)
 * hear, hear!
 * Got a request from one of my clients for this feature just today (5 minutes ago,
   actually). I want to minimize my involvement.
 *  [skeltoac](https://wordpress.org/support/users/skeltoac/)
 * (@skeltoac)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/15-req-theme-editor-create-php-file-function/#post-147984)
 * You may be able to use WP’s upload feature to accomplish that. It depends on 
   your server’s permissions. I did it all the time when I had a plain hosting account.
 * Now, with a virtual server, my permissions have been set up with greater security:
   a file uploaded via WordPress does not run with all of the permissions of a file
   uploaded via FTP. The result is that I can have two files containing identical
   code, in the same directory, and one won’t be allowed to do things like `opendir()`
   while the other works fine.
 *  [lisch](https://wordpress.org/support/users/lisch/)
 * (@lisch)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/15-req-theme-editor-create-php-file-function/#post-147985)
 * Good idea, and a good suggestion for my first stab at writing a plugin. I’m not
   finished yet, but I thought I would throw it out tonight. The idea is that it
   adds a Themes page. On that page, you can create an new file, upload a file, 
   or delete a file.
 * Upload is not yet implemented because I have not figured out how to do it yet.
 * Also, the page is out of date after creating or deleting a file.
 * These problems are easy to fix, but it’s waaay past my bedtime. I’ll work on 
   version 0.02 soon.
 * The plugin is at [wp-plugins.net](http://wp-plugins.net), under Themes, Styles,
   and Decoration. You can also go straight to my web site: [http://tempest-sw.com/wp](http://tempest-sw.com/wp/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[1.5 REQ] Theme Editor Create .php File Function’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 3 replies
 * 4 participants
 * Last reply from: [lisch](https://wordpress.org/support/users/lisch/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/15-req-theme-editor-create-php-file-function/#post-147985)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
