Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Duplicate Theme Files from WordPress Admin Panel

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
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.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. angel ikaz says:

    i would suggest you to try DuplicateFilesDeleter , it can help resolve duplicate files issue.

  2. senlinonline says:

    “If you are using a child theme, the new theme file will be added in the parent theme (which is not ideal).”

    Not ideal???

    Completely useless you mean?!

  3. sktanmoy says:

    When clients don’t provide FTP access, just use a WordPress plugin called wp-filemanager.
    Link: http://wordpress.org/extend/plugins/wp-filemanager/

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.