Testimonials Cycle Shortcode Attributes

[testimonials_cycle
    'testimonials_link':  '', // URL of the "View More Testimonials" link. Set on the options panel
    'count':  -1, // Limit the number of testimonials to display. Pass -1 to display all (default).    
    'show_title':  0, // Output the title of the testimonial. (1 = yes, 0 = no)
    'use_excerpt':  false, // if true, use the excerpt instead of the full testimonial
    'category':  '', // limit the random selection to this category. Expects a category slug, e.g., 'my-category'
    'show_thumbs':  true, // If true, output the Featured Image
    'show_rating':  'stars', // how to display the rating (either as stars, or as text before or after the testimonial). Options: 'stars', 'before', 'after'.
    'theme': 'default_style', // the theme to use to display this testimonial
    'show_date':  true, // if true, output the date of the testimonial. Set to false to hide the date.
    'show_other':  true, // if true, output the "Product / Location / Other" field. Set to false to hide.
    'width':  false, // enforce a maximum width. Expects a pixel value, as an integer (e.g., '300' for 300px)
    'hide_view_more':  0, // Output the "View More Testimonials" link, which takes the user to the full testimonials page. Set to 1 to hide the link, 0 to show it.
    'output_schema_markup':  true, // Whether to output hidden schema.org markup for search engines like Google to parse. Good for SEO. Set to false to disable.
    'orderby': 'date', // Which key to use for sorting the list of testimonials. Valid options: 'ID', 'author', 'title', 'name', 'date', 'modified', 'parent', 'rand', 'menu_order'
    'order': 'DESC', // The direction to sort the list. Options: 'ASC', 'DESC' (default is 'DESC')
    'transition': 'scrollHorz', // the animation to use between testimonials. Options: 'scrollHorz', 'scrollVert', 'fade', 'carousel', 'flipHorz', 'flipVert', 'tileSlide'
    'timer': '5000', // time to show each testimonial before transitioning to the next testimonial. In microseconds, so multiply seconds by 1000 to get your value (e.g., 8 seconds = 8000)
    'auto_height': 'container', // Fix the height of the slideshow to the height of the tallest testimonial. Set to false to have the slideshow resize on each transition.
    'show_pager_icons': false, // true to show the pager icons, false to hide them
    'testimonials_per_slide': 1, // how many testimonials to display on each slide
    'pause_on_hover': false, // if true, the slideshow will pause when the mouse is over it
    'prev_next': false, // if true, display the previous and next buttons. If false, hide them.
    'paused': false, // if true, start the slideshow in a paused state
    'display_pagers_above': false, // if true, show the pager icons above the slideshow. If false (default), show them under the slideshow (their normal position)
    'show_log': WP_DEBUG, // whether to output cycle2's debug information to the Javascript console. Defaults to the value of WP_DEBUG
]

Testimonials Grid Shortcode Attributes

[testimonials_grid
    'ids': '', // Specify a list of ids to include in the grid. Optional - if not specified, testimonials will be selected based on other attributes.
    'testimonials_link':  '', // URL of the "View More Testimonials" link. Set on the options panel
    'count':  -1, // Limit the number of testimonials to display. Pass -1 to display all (default).    
    'show_title':  0, // Output the title of the testimonial. (1 = yes, 0 = no)
    'use_excerpt':  false, // if true, use the excerpt instead of the full testimonial
    'category':  '', // limit the random selection to this category. Expects a category slug, e.g., 'my-category'
    'show_thumbs':  true, // If true, output the Featured Image
    'show_rating':  'stars', // how to display the rating. Options: 'stars', 'before', 'after'.
    'theme': 'default_style', // the theme to use to display this testimonial
    'show_date':  true, // if true, output the date of the testimonial. Set to false to hide the date.
    'show_other':  true, // if true, output the "Product / Location / Other" field. Set to false to hide.
    'width':  false, // enforce a maximum width. Expects a pixel value, as an integer (e.g., '300' for 300px)
    'hide_view_more':  0, // Output the "View More Testimonials" link, which takes the user to the full testimonials page. Set to 1 to hide the link, 0 to show it.
    'output_schema_markup':  true, // Whether to output hidden schema.org markup for search engines like Google to parse. Good for SEO. Set to false to disable.
    'orderby': 'date', // Which key to use for sorting the list of testimonials. Valid options: 'ID', 'author', 'title', 'name', 'date', 'modified', 'parent', 'rand', 'menu_order'
    'order': 'DESC', // The direction to sort the list. Options: 'ASC', 'DESC' (default is 'DESC')
    'paginate': false, // Whether to split the list into multiple pages. If count is less that testimonials_per_page, this value is ignored.
    'testimonials_per_page': 10, // How many testimonials to display per page. Ignored if paginate is set to false.
    'cols': 3, // How many columns should the grid have. (Valid options: 1 to 10)
    'grid_width': false, // Specify a width for the grid. Can be a percentage, or an integer (e.g., 10%, or '300' for 300px)
    'grid_spacing': false, // Specify a pixel size for the horizontal and vertical padding between the grid cells (integer only, e.g., '300' for 300px). Default: no padding between cells
    'grid_class': '', // Add an extra CSS class to the grid's wrapper
    'cell_width': false, // Specify a pixel width for the grid cells. Don't include 'px' (e.g., '300' for 300px)
    'responsive': true, // Whether or not the grid should collapse on smaller devices (recommended)
    'equal_height_rows': false, // If true, force all rows to be the same height. If false, rows can be different heights.
]

Testimonials List Shortcode Attributes

[testimonials
    'testimonials_link':  '', // URL of the "View More Testimonials" link. Set on the options panel
    'count':  -1, // Limit the number of testimonials to display. Pass -1 to display all (default).    
    'show_title':  0, // Output the title of the testimonial. (1 = yes, 0 = no)
    'use_excerpt':  false, // if true, use the excerpt instead of the full testimonial
    'category':  '', // limit the random selection to this category. Expects a category slug, e.g., 'my-category'
    'show_thumbs':  true, // If true, output the Featured Image
    'show_rating':  'stars', // how to display the rating (either as stars, or as text before or after the testimonial). Options: 'stars', 'before', 'after'.
    'theme': 'default_style', // the theme to use to display this testimonial
    'show_date':  true, // if true, output the date of the testimonial. Set to false to hide the date.
    'show_other':  true, // if true, output the "Product / Location / Other" field. Set to false to hide.
    'width':  false, // enforce a maximum width. Expects a pixel value, as an integer (e.g., '300' for 300px)
    'hide_view_more':  0, // Output the "View More Testimonials" link, which takes the user to the full testimonials page. Set to 1 to hide the link, 0 to show it.
    'output_schema_markup':  true, // Whether to output hidden schema.org markup for search engines like Google to parse. Good for SEO. Set to false to disable.
    'orderby': 'date', // Which key to use for sorting the list of testimonials. Valid options: 'ID', 'author', 'title', 'name', 'date', 'modified', 'parent', 'rand', 'menu_order'
    'order': 'DESC', // The direction to sort the list. Options: 'ASC', 'DESC' (default is 'DESC')
    'paginate': false, // Whether to split the list into multiple pages. If count is less that testimonials_per_page, this value is ignored.
    'testimonials_per_page': 10, // How many testimonials to display per page. Ignored if paginate is set to false.
]

Single Testimonial Shortcode Attributes

[single_testimonial
    'id': '', // the WordPress post ID of the testimonial to show. 
    'testimonials_link':  '', // URL of the "View More Testimonials" link. Set on the options panel    
    'show_title':  0, // Output the title of the testimonial. (1 = yes, 0 = no)
    'use_excerpt':  false, // if true, use the excerpt instead of the full testimonial
    'show_thumbs':  true, // If true, output the Featured Image
    'show_rating':  'stars', // how to display the rating (either as stars, or as text before or after the testimonial). Options: 'stars', 'before', 'after'.
    'theme': 'default_style', // the theme to use to display this testimonial
    'show_date':  true, // if true, output the date of the testimonial. Set to false to hide the date.
    'show_other':  true, // if true, output the "Product / Location / Other" field. Set to false to hide.
    'width':  false, // enforce a maximum width. Expects a pixel value, as an integer (e.g., '300' for 300px)
    'hide_view_more':  0, // Output the "View More Testimonials" link, which takes the user to the full testimonials page. Set to 1 to hide the link, 0 to show it.
    'output_schema_markup':  true // Whether to output hidden schema.org markup for search engines like Google to parse. Good for SEO. Set to false to disable.
]

Random Testimonial Shortcode Attributes

[random_testimonial
    'testimonials_link':  '', // URL of the "View More Testimonials" link. Set on the options panel
    'count':  1, // How many testimonials to output    
    'show_title':  0, // Output the title of the testimonial. (1 = yes, 0 = no)
    'use_excerpt':  false, // if true, use the excerpt instead of the full testimonial
    'category':  '', // limit the random selection to this category. Expects a category slug, e.g., 'my-category'
    'show_thumbs':  true, // If true, output the Featured Image
    'show_rating':  'stars', // how to display the rating (either as stars, or as text before or after the testimonial). Options: 'stars', 'before', 'after'.
    'theme': 'default_style', // the theme to use to display this testimonial
    'show_date':  true, // if true, output the date of the testimonial. Set to false to hide the date.
    'show_other':  true, // if true, output the "Product / Location / Other" field. Set to false to hide.
    'width':  false, // enforce a maximum width. Expects a pixel value, as an integer (e.g., '300' for 300px)
    'hide_view_more':  0, // Output the "View More Testimonials" link, which takes the user to the full testimonials page. Set to 1 to hide the link, 0 to show it.
    'output_schema_markup':  true // Whether to output hidden schema.org markup for search engines like Google to parse. Good for SEO. Set to false to disable.
]

Easy Testimonials Aggregate Rating Filter Example

/* Gold Plugins Aggregate Rating Edit */
function modify_easy_t_aggregate_rating( $output, $count_query ) {    
    //Valutato 4.67/5 in base a 3 recensioni
    
    //calculate average review value
    $total_rating = 0;
    $total_rated_testimonials = 0;//only want to divide by the number of testimonials with actual ratings
    
    $item_reviewed = get_option('easy_t_global_item_reviewed','');
    
    foreach ($count_query->posts as $testimonial){
        $testimonial_rating = get_post_meta($testimonial->ID, '_ikcf_rating', true);
        
        if(intval($testimonial_rating) > 0){                
            $total_rated_testimonials ++;
            $total_rating += $testimonial_rating;
        }
    }

    $average_rating = $total_rating / $total_rated_testimonials;
    
    $output = '
        <div class="easy_t_aggregate_rating_wrapper" itemscope itemtype="http://schema.org/Product">
            <span class="easy_t_aggregate_rating_item" itemprop="name">' . $item_reviewed . '</span>
            <div class="easy_t_aggregate_rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">Valutato <span class="easy_t_aggregate_rating_top_count" itemprop="ratingValue">' . round($average_rating, 2) . '</span>/5 in base a <span itemprop="reviewCount" class="easy_t_aggregate_rating_review_count" >' . $total_rated_testimonials . '</span> recensioni</div>        
        </div>
    ';
    
    return $output;
}
add_filter( 'easy_t_aggregate_rating', 'modify_easy_t_aggregate_rating', 10, 2 );

Testimonial Vertical Flip

[testimonials_cycle count="6" transition="flipVert" auto_height="calc" timer="5000" pause_on_hover="true" auto_height="calc" show_pager_icons="1" prev_next="1"] 

Testimonial Horizontal Flip

[testimonials_cycle count="6" transition="flipHorz" timer="5000" pause_on_hover="true" auto_height="calc" show_pager_icons="1" prev_next="1"]

Testimonial Fade

[testimonials_cycle count="6" transition="fadeIn" auto_height="calc" timer="5000" pause_on_hover="true" auto_height="calc" show_pager_icons="1" prev_next="1"]

Testimonial Horizontal Scroll

[testimonials_cycle count="6" transition="scrollHorz" auto_height="calc" timer="5000" pause_on_hover="true" auto_height="calc" show_pager_icons="1" prev_next="1"]

Every Plugin Comes With Years of Experience

The team behind Gold Plugins has been making WordPress websites for over a decade. Our plugins deliver state-of-the-art features at a fraction of the cost of hiring a freelance developer. By serving thousands of customers, we are able to provide plugins which have undergone years of professional development for less than the cost of hiring a developer for a single afternoon.

Most importantly, because we use your feedback to improve our plugins, we are able to a level of customer support not found with most WordPress plugins or on large marketplace websites. With Gold Plugins, you're not just buying a plugin - you're also getting a team of WordPress experts ready to help solve your problem.

Read More about what makes our company different.