WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
Only show stars if there are ratings (1 post)

  1. Chris
    Member
    Posted 1 year ago #

    Hi,
    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!

    http://wordpress.org/extend/plugins/gd-star-rating/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic