This version adds a highly requested feature: displaying your custom fields when viewing the individual testimonial. It also adds some admin features and improves performance and compatibility.
Using a “Read more” link leads to viewing the individual testimonial using your theme’s single post template, the same template used for standard blog posts. That template is not aware of your custom fields like Name, Company, Rating, etc. so they are not shown. That’s why every testimonials plugin provides its own templates.
Now, you can select the custom fields to show on your single post template with a new view mode named “Single Template.” This specialized view mode only controls the custom fields, not any other features like the excerpt or pagination, though it may include more features in the future.
Every theme is different and this may not be a perfect solution for your particular situation. For example, your theme may show the author (you) and the post date without providing an option to exclude those fields. But I think this is a strong step in the right direction.
You can now make views sticky; that is, keep them at the top of the list. Just click the star next to its name. This is great when you are fine-tuning a particular view and going back and forth, or when you always have to scroll down the list to find a view.
I plan to keep adding workflow improvements like this so let me know if you have any ideas.
The plugin now uses the
imagesLoaded script included in WordPress instead of loading its own copy. Why did I not know that was already available in WordPress? Because working with WordPress means you learn something new every day. 🙂
Custom style like the background color in views is now loaded in the
<head> section where it belongs to prevent a flash of unstyled content.
A bug that caused some double “Read more” links was fixed.
In views, the general “Compatibility Mode” option was removed as it is no longer necessary. In testing, the view shortcode, widget, and template function
strong_testimonials_view( $id ) are compatible with major page builders and popup makers. Of course, let me know if you encounter any trouble.
There is one exception: Divi Builder 2 plugin by Elegant Themes. That plugin has some aggressive CSS (very high specificity) that overrides Strong Testimonials template styles. This is only a problem in version 2 of Divi Builder; it is not a problem in the Divi theme. I am working on finding a solution as well as discussing the issue with those developers. Strong Testimonials is not alone here, this potentially affects any plugin with front-end output.