How to Duplicate Theme Files from WordPress Admin Panel


Have you ever worked on a client’s site who is not willing to give you FTP? The hardest part about that is you cannot create new template files, nor you can duplicate an existing template file. In this article, we will share with you a plugin that allows theme authors to clone an existing template file from the WordPress admin panel. This will keep you from having to download, rename and re-upload new files via FTP.

First thing you need to do is install and activate Theme File Duplicator Plugin.

Once you have activated it, then you need to go to the tab: Appearance » Add Page Template

Theme File Duplicator Admin Preview

As you can see in the screenshot above, you need to select the template file to copy, and all you need to do is assign a new filename. This plugin has another neat feature which allows you to add a template name. You can check that box and specify the template name. The template name will allow you to specify a custom page template.

The only downside to this plugin is that it is not fully compatible with child themes. If you are using a child theme, the new theme file will be added in the parent theme (which is not ideal).

If you were looking for a way to clone an existing template file from the WordPress admin area, then you should download Theme File Duplicator Plugin.

This post is brought to you by Next Day Flyers, the online printer offering color rack card printing with fast turnaround speed.

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.