gdrts_slider_review_list

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

[gdrts_slider_review_list]

This shortcode displays a list of ratings sorted by rating, votes…

List of attributes

  • type: entity and name of the type connected with the dot like this: {entity}.{name} and both are required.
  • class: CSS class for the shortcode wrapper.
  • orderby: sorting of the results list. Supported values: rating, votes, item, id, latest, sum.
  • order: sorting order. Supported values: ASC, DESC.
  • limit: number of results to display. Default: 5.
  • rating_min: minimal rating to show. Default: 0.
  • template: name of the template to use for display. Supported values: shortcode, widget and more. List of templates can be expanded, and list of all available templates is listed on the Templates panel in Information menu. This shortcode can use templates listed under Stars Rating / Ratings List.
  • style_theme: styling theme to use. Supported values: default.
  • style_show_grid: the grid is displayed under the slider. Supported values: true, false.
  • style_show_minmax: min and max values are displayed at the ends of the slider. Supported values: true, false.
  • style_show_rating: floating rating badge next to the slider. Supported values: true, false.
  • style_class: additional CSS class to add to rating block wrapper.
  • terms: comma separated list of Term ID’s. Used only for posts.
  • authors: comma separated list of author ID’s. Used only for posts.

Basic Example

[gdrts_slider_review_list type="posts.post" limit=10
template="shortcode"]

        
0
0
695
Rate this reference

You are not allowed to rate this post.

Leave a Comment