public
Last active

Woothemes Testimonials Plugin Code Snippet

  • Download Gist
gistfile1.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
do_action( 'woothemes_testimonials', array(
 
'tax_query' => array(
array(
'taxonomy' => 'testimonial-category',
'field' => 'id',
'terms' => array( $testimonial_id )
)
),
'limit' => 1,
'orderby' => 'rand',
'title' => 'Testimonials',
'before_title' => '<h4 class="widgettitle">',
'after_title' => '</h4>'
 
) );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.