Not yet, unfortunately, but I can walk you through an example, assuming you’re comfortable copying files and modifying code.
Step 1
Create a directory in your theme named strong-testimonials
.
wp-content/themes/{my-theme}/strong-testimonials
If you copy the default template and don’t rename anything, that will become the new default, overriding the plugin.
Otherwise, if you copy and rename a template, it will be added to the template list in the view editor.
Step 2
To create a template named “Custom” from the default template, create a subdirectory custom
in your theme’s new strong-testimonials
directory.
wp-content/plugins/strong-testimonials/templates/default
-->
wp-content/themes/{my-theme}/strong-testimonials/custom
Then copy the desired plugin template files into that. You may only need content.php
and content.css
, not the form or widget files.
Step 3
Edit content.php
and change the “Template Name” in the header. This identifies it in the view editor.
Edit content.css
and replace every instance of default
with custom
. That class must match the subdirectory name.
Step 4
Modify the HTML and CSS as you see fit.
You can create multiple templates by giving each one a unique subdirectory name.
There are SASS files in the plugin’s templates-scss
directory if you are so inclined.
-
This reply was modified 7 years, 10 months ago by Chris Dillon.
-
This reply was modified 7 years, 10 months ago by Chris Dillon.