• Resolved ZeroGravity

    (@zerogravity)


    I read you can create a custom template by copying an exiting template into the theme folder and modifying it. I have done that but it’s not showing under the template section when editing a view.

    Is there a particular folder structure they need to be stored under or a hook/filter that needs to be called so they appear in the admin?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Teo Alex

    (@altesin)

    Hello @zerogravity ,

    You can create a custom template by copying one of the existing templates from:

    wp-content/plugins/strong-testimonials/templates/

    Paste it into your child theme at:

    wp-content/themes/your-child-theme/strong-testimonials/my-custom-template/

    (where my-custom-template is the name of your new template).

    Next, edit the config.json and content.php files inside that folder and replace the template name with your chosen name (e.g., my-custom-template).

    After that, go to your View settings in Strong Testimonials and you will see your custom template available in the template dropdown list.

    Warm regards,
    Teo

    Thread Starter ZeroGravity

    (@zerogravity)

    Thanks! That worked. I had them sitting in:

    wp-content/themes/your-child-theme/strong-testimonials-templates/my-custom-template/

    I went through and updated all the classes in content.css to use my-custom-template

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.