WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
[resolved] Aggregated rating not working (2 posts)

  1. supertester
    Member
    Posted 1 year ago #

    Hello!

    I've implemented aggregated comment rating on my theme. Everything is working fine, the ratings are being saved and being displayed in the comments!

    However, the aggregated rating function for the post is not working, I've tried these options:
    wp_gdsr_render_comment_aggregation(get_the_ID(), 7);
    and
    wp_gdsr_render_comment_aggregation(0, 7);

    Both options are displaying 5 empty stars. What am I doing wrong here?
    Btw. I use it on a custom post type, I don't know if that is the problem?
    Function used in comment form:
    wp_gdsr_comment_integrate_standard_rating ($value=0, $stars_set="starscape", $stars_size=16, $stars_set_ie6="oxygen_gif", $echo=true)

    and to display in comments:
    wp_gdsr_comment_integrate_standard_result (get_comment_ID(), $stars_set="starscape", $stars_size=16, $stars_set_ie6="oxygen_gif", $echo=true);

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

  2. supertester
    Member
    Posted 1 year ago #

    I just found out that wp_gdsr_render_article(46, true); works for this too. Maybe I misunderstood the meaning of the wp_gdsr_render_comment_aggregation function?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.