WordPress.org

Support

Support » Plugins and Hacks » GD Star Rating » [Plugin: GD Star Rating] Pronblem integrating GD Stars into Comments

[Plugin: GD Star Rating] Pronblem integrating GD Stars into Comments

  • I need to provide a way to rate the post using the standard wordpress form. I think I was able to do it using this code:

    <?php if (defined("STARRATING_INSTALLED")) : ?>
    <p><?php wp_gdsr_comment_integrate_standard_rating(); ?>
    <label for="url"><small>Rating</small></label>
    </p><?php endif; ?>

    By default when you submit your comment with the rating, the results show the comment, name and starst but the stars are not showing the rating you initially selected before you submited the form.

    So I used this code as instructed in the documentation

    <?php if (defined("STARRATING_INSTALLED")) : ?>
    <div style="float: right">
    <?php  wp_gdsr_comment_integrate_standard_result(get_comment_ID()); ?>
    </div>
    <?php endif; comment_text(); ?>

    BUT NOTHING is happening. I found a theme with comments.php that supports this snippet of code but nothing.

    WHAT I am doing wrong?

  • The topic ‘[Plugin: GD Star Rating] Pronblem integrating GD Stars into Comments’ is closed to new replies.
Skip to toolbar