Some of our themes feature single use Portfolio page templates, that is, page templates that once configured will display the same content on every page they are assigned to (unlike our full width or slideshow page templates). This isn’t ideal in our minds, and while we find a re-usable solution that leverages the WordPress Customizer panel, we’ve prepared this guide as a step-by-step for duplicating a single use page template manually.

Tools you’ll need:

– A text editor. Sublime Text is available for OS X, Windows, and Linux, and can be evaluated for free.
– An FTP client (if you’re uploading to an existing site) like Cyberduck or Filezilla.
– A child theme, because you should never edit a theme directly. You can find basic child themes in your relevant theme’s docs page (for example, – replace ‘tv-elements’ with the name of your theme).

The process itself

Note:. The following is written with TV Elements in mind, but the process is the same for our other themes (On Demand or Balanced, for example). If you have a question about what follows, either related to TV Elements or one of our other themes, please don’t hesitate to contact us through our support form.

  1. If you don’t have a copy of your theme files already, then you’ll want to start by downloading your theme from your account page.

  3. Next, navigate to your theme’s docs page, e.g. (replace ‘tv-elements’ with the name of your theme), and download your theme’s child theme (the second green button near the top). Unzip both.

  5. With both directories downloaded and unzipped, open tv-elements and navigate to ‘templates/template-portfolio.php’, copy (or ‘duplicate’) this template, and then give it a new name – you might use ‘template-portfolio-two.php’. Copy the re-named template and place it in your child theme directory.

  7. template-nameOpen your new portfolio page template and give it a new ‘Template Name’ (line 5 at the top of the template). This is the name of the template that you’ll see when assigning it to the page, so make sure the name is descriptive. In keeping with the template name above you might update the template name to ‘Portfolio Two’.

  9. After you’ve updated the template name, you’ll then want to update the theme option that’s used in the Portfolio page template. This is found on line 9, immediately beneath the block of code above portfolio-cat-variable
  10. $nbsp;

  11. Once your new template is created, you’ll need to create a new corresponding theme option. Start by creating a new directory called ‘inc’ in your child theme, and in that directory create a new template called ‘customizer.php’ with the following contents: customizer.php.

  13. For the last step, add the following in your child theme’s functions.php (compare with TV Elements’ functions.php for an example if needed):
    require( get_stylesheet_directory() . '/inc/customizer.php' );

That should be it. Once finished compress your child theme folder and upload the theme to your site as you did originally. Instructions for uploading themes can be found in your theme’s docs page ({theme name}).