FAQ

1. Why don’t my updated testimonials show on the front-end?

Testimonial Widgets output is cached for an hour and updated testimonials will clear their related cache entries. However, if you change testimonial instances and the display hasn’t changed, you might need to force cache clearing.

You can clear the cache by checking “Clear Cache?” and clicking Save Changes at WP Admin > Testimonials > Settings > Premium tab.

Alternately, to do manual cache clearing for a page, add the clearcache=1 parameter on to your WordPress URL.

Ex: http://example.com/?clearcache=1

2. How do I change the ‘… Read more’ text?

In your theme’s functions.php file, add similar code as follows.

add_filter( 'testimonials_widget_premimum_more_ellipsis', function() { return ' '; } );
add_filter( 'testimonials_widget_premimum_more_text', function() { return ' Continue reading →'; } );

or

function my_testimonials_widget_premimum_more_ellipsis() {
    return ' Continue reading →';
}
add_filter( 'testimonials_widget_premimum_more_ellipsis', 'my_testimonials_widget_premimum_more_ellipsis' );
function my_content_more() {
    return ' ';
}
add_filter( 'testimonials_widget_premimum_more_text', 'my_content_more' );

3. My testimonial URL says “Page not found”

Go to WordPress > Plugins to Deactivate and then Activate Testimonials Widget. The flush_rewrite_rules function needs to run.

4. How do I change the ‘Complete testimonial by ‘ link title text?

In your theme’s functions.php file, add similar code as follows.

add_filter( 'testimonials_widget_premimum_link_title_text', function() { return 'More by '; } );

or

function my_content_more() {
    return 'More by ';
}
add_filter( 'testimonials_widget_premimum_link_title_text', 'my_content_more' );

5. Why doesn’t the Testimonials Widget Premium plugin activate?

Because the ‘Testimonials Widget’ plugin isn’t installed and activated.

6. How do I disable caching?

In your theme’s functions.php file, add similar code as follows.

add_filter( 'testimonials_widget_disable_cache', function() { return true; } );

or

function my_testimonials_widget_disable_cache() {
    return true;
}
add_filter( 'testimonials_widget_disable_cache', 'my_testimonials_widget_disable_cache' );

7. How do I disable read more link?

In WP Admin > Testimonials > Settings, Premium tab, check ‘Hide “Read more” Links?’.

8. How do I customize the testimonials title links list?

If you want to change the title list layout of the testimonials, then you can use the testimonials_widget_premimum_html_link filter. This filter follows the get_testimonial_html_link method which is how the testimonial HTML is normally generated. Thetestimonials_widget_premimum_html_link filter works for widgets and lists.

add_filter( 'testimonials_widget_premimum_html_link', 'my_testimonials_widget_premimum_html_link', 10, 3 );
function my_testimonials_widget_premimum_html_link( $content, $testimonials, $atts ) {
    // do stuff… see Testimonials_Widget_Premium::get_testimonial_html_link for default processing
    return $content;
}

9. How do I add testimonial excerpt to single view?

In your theme’s functions.php file, add similar code as follows.

function my_testimonials_widget_defaults_single( $array ) {
    $array['hide_excerpt']        = 'false';
    return $array;
}
add_filter( 'testimonials_widget_defaults_single', 'my_testimonials_widget_defaults_single' );

10. How do I style the single view excerpt?

In your theme’s styles.css file use the CSS class .testimonialswidget_excerpt to style the testimonial excerpt text.

11. Why no testimonial content for `[testimonialswidgetpremium_link_list]`?

Showing testimonial content defeats the purpose of the linked list. Therefore, no testimonial content is displayed.

12. `[testimonialswidgetpremium_link_list]` paging only works on pages…

Very true, [testimonialswidgetpremium_link_list] paging only works on pages. If you want more testimonials in your link list on posts, use the shortcode option limit, like limit=25, to show more than default.

13. How do I use the theme functions like `testimonialswidgetpremium_count()`?

In your theme functions.php file, place code similar to the following for the configuration you need.

<?php
$args                           = array(
    'category'                    => 'product',
    'tags'                        => 'widget',
    'limit'                       => 5
);
echo 'Here are response from ';
echo testimonialswidgetpremium_count( $args );
echo ' happy customers who use our Product';
echo testimonialswidget_list( $args );
?>

14. How do I style the “Next testimonial…” text block?

In your theme’s styles.css file use the CSS class .testimonialswidget_next to style the div block containing the “Next testimonial…” text.

15. How do you clear old `testimonialswidget` transients from `wp_options`?

Simply deactivate and then reactivate the Testimonials Widget Premium plugin. During these states, the testimonialswidget transients will be removed from wp_options.

16. How do I show the expert and hide the image in the testimonial single view?

In your theme functions.php file, place code similar to the following for the configuration you need.

add_filter( 'testimonials_widget_defaults_single', 'my_testimonials_widget_defaults_single' );
function my_testimonials_widget_defaults_single( $args ) {
    $args['hide_image']           = 'true';
    $args['hide_excerpt']     = 'false';
    return $args;
}

17. How do you show multiple testimonials in rotation?

The easiest way to rotate multiple testimonials at the same time would be to use the unique shortcode or “Prevent duplicates?” widget options with one or more Testimonial Widget instances. This gives you the ability to place or stack testimonials together that rotate at the sametime without fear of showing duplicated testimonials.

Try something like the following code.

[testimonialswidget_widget unique=true]
[testimonialswidget_widget unique=true]
[testimonialswidget_widget unique=true]

18. What does the alternating `.even` and `.odd` CSS classes look like?

Even…

<div>…

Odd…

<div>…

Refer to FAQ 35 for complete HTML layout and CSS details.

19. How do you style alternating background colors?

In your theme’s styles.css file use the CSS classes .testimonialswidget_testimonial.even and .testimonialswidget_testimonial.oddto style alternating background colors for testimonial lists.

.testimonialswidget_testimonial.even {
    background-color: red;
}
.testimonialswidget_testimonial.odd {
    background-color: blue;
}

Thank you to Tom – placeofstillness for inspiration of this FAQ entry.

20. How do I change the ‘Next testimonial…’ text?

In your theme’s functions.php file, add similar code as follows.

add_filter( 'testimonials_widget_premimum_next_text', function() { return 'Next →'; } );

or

function my_content_next() {
    return 'Next…';
}
add_filter( 'testimonials_widget_premimum_next_text', 'my_content_next' );

21. How do you update Testimonials Widget Premium?

You can update Testimonials Widget Premium via WP Admin > Dashboard > Updates, click Check Again, and then select and make updates.

Still have questions?

You can also checkout the original Testimonials Widget FAQ.

Be Sociable, Share!