Ultimate Reviews Developer Documentation

The developer documentation is for coders who want to learn how to modify or extend the plugin with the available template system.

If you’re not a coder, you’re probably looking for the User Guide.

Templates

Starting with version 3.0.0 of Ultimate Reviews, 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 FileZilla), 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 Reviews, you would click on wp-content > plugins > ultimate-reviews > ewd-urp-templates.

  2. Next, find the template that you want to edit. In our case, we’re going to change the label for the Product Name field in the submit review form, specifically when it is set to a dropdown field. So we’ll download the submit-review-field-product-name-select template to our desktop.

    Screenshot of Cyberduck FTP

  3. Open up the file that you downloaded. You should see the HTML div that contains the structure, including the label we are modifying. 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-urp-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 your submit review 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 Reviews!