Our simple to use WordPress Testimonial plugin is almost six months old and has already been downloaded 600 times. That’s not bad for not really advertising it except here and there. It hasn’t been entered in the WordPress repository either, which we hope to do soon! The plugin has gone through many updates and we’re happy to release v1.6 with improved code structure, and new filters which allows developers to expand / change the look of the testimonials even more!
v1.5 introduced the first four filters that allows you to include custom content above and below both the main testimonial wrapper and each individual testimonial. Now with v1.6, we’re adding 5 more!
The new Filters:
Each one is pretty self explanatory. The 1st handles with the featured image; 2nd the post title; 3rd the tagline/company name and website URL; and the 4th handles the testimonial content. Now the 5th one is probably the most important as it allows you to manipulate 1-4 into your preferred order and arrangement. So maybe you prefer the title to be displayed after the content and aligned right or the featured image to be on the right side. Now you can with the above filters.
If you need help with filters, please check the WP Codex.
The important item to note is that we need to pass two variables,
$options into the filter. The
$options is an array that includes the featured image, lightbox option, website url, and tagline/company name custom fields, title, and our main query. In addition there are the name and image shortcode parameter checks.