gdsr_multi_rating_average($settings = array(), $echo = true)

  • $settings: array with rendering parameters
  • $echo: echo results or return it as a string.

Renders single rating stars image with average rating for the multi rating review.

Rendering parameters:

  • id: multi set id
  • render: what to display: ‘rating’ or ‘review’
  • post_id: id for the post
  • show: what values to calculate: ‘visitors’, ‘users’ or ‘total’
  • style: name for the rating set
  • style_ie6:  name for the rating set for IE6 browser
  • size: size for the displayed stars


[php]$settings = array(‘id’ => 1, ‘style’ => ‘crystal’, ‘size’ => 24);


Leave a Reply