Support » Plugin: GD Star Rating » [Plugin: GD Star Rating] Only show stars if there are ratings
4 years, 4 months ago
I am trying to make and if else statement that only shows the stars if there is an existing rating. If not, it shows nothing. Anyone know how I would accomplish this? I am currently using the following code to show the static stars:
<?php echo wp_gdsr_render_article ($post->ID, 'read_only', true); ?>
Thanks in advance!