How to Edit a Template – UPCP

Starting with version 5.0.0 of Ultimate Product Catalog, everything that displays on the front end of the plugin can be customized by creating your own template files (to modify and/or overwrite the existing templates files), which can be done as per the following:

  1. To get started, you should have FTP access to your server (in the screenshots below, we’re using Cyberduck), so that you can download and upload files to your WordPress installation. Navigate to the templates folder for the plugin that you’re editing. For Ultimate Product Catalog, you would click on wp-content > plugins > ultimate-product-catalogue > ewd-upcp-templates.
  2. Next, find the template that you want to edit. In our case, we’re going to add the label Category: before the category headings on the catalog page. To do this, we’ll download the catalog-category-header template to our desktop.

    Screenshot of Cyberduck

  3. Open up the file that you downloaded. You should see the HTML div that contains the structure, along with where the label is being added. We’ll add in our changes and then save that file.

    Screenshot of modified template code

  4. Now we need to add that file to our server. Navigate to the child theme you’re using, or your active theme if you’re not using a child theme, and create a folder with the same name as the templates folder in the plugin, so ewd-upcp-templates in our case.
  5. Upload the file you edited to that folder. The plugin will automatically use any templates with the same names found in your active theme’s folder. Once you’ve done that, you should see the modified label on the catalog page.

    Screenshot of modified FAQ page output

That’s all it takes to edit or change any of the content displayed on the front end by Ultimate Product Catalog!

Call to action box goes here
Need a Plugin to Improve Your Site?
Browse Plugins Now
Enhance your site’s FAQs with AI
Enhance your site’s FAQs with AI

Whether you’ve been running a website for a long time or are just setting one up, you know the importance of having a good FAQ page. This becomes even more crucial if you’re running an online shop/e-commerce site. Up until very recently, the only way to create your FAQs was good old fashioned typing them…

Visitor-Submitted FAQs for WordPress
Visitor-Submitted FAQs for WordPress

Often, the people best placed to know what questions your users will run into when using your product or service are the users themselves. With a premium license for our Ultimate FAQ WordPress plugin, you can allow visitors to your site to submit their own questions, along with (optionally) their proposed answers to those questions,…

FAQ Custom Fields for WordPress
FAQ Custom Fields for WordPress

In this post, we’ll show you how to create custom fields for your FAQs, as well as re-order the FAQ elements in the Ultimate FAQ WordPress plugin. We’ll start with custom fields, which you’ll need a premium license to use. We’re going to add a field called “Priority”, with options for “High”, “Medium” and “Low”….

Discover More Posts
Browse Plugins Now