mmh … here is the awnser …
Display a numeric value average
wp_gdsr_rating_multi
$gp_gdsr = wp_gdsr_rating_multi();
echo $gp_gdsr->rating;
Display a rating star average
wp_gdsr_multi_rating_average
wp_gdsr_multi_rating_average();
thx so much for your answer!
Joe
(@joewa1980)
Thumbs up for you! Thanks!
Joe
(@joewa1980)
Did you actually get the numerical value average working? I can’t get it to work with your code. Any ideas?
Hi Joe,
Yes my code is still working. I’m in WordPress 3.6 and GD Star Rating 1.9.22
$gp_gdsr = wp_gdsr_rating_multi();
if($gp_gdsr->rating != "0"){
wp_gdsr_multi_rating_average();
echo $gp_gdsr->rating;
}
You’re inside of outside the loop ?
Joe
(@joewa1980)
For me that shows the stars. I’m talking about literally just “7/10” for example.