• Resolved supertester

    (@supertester)


    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);

    https://www.ads-software.com/extend/plugins/gd-star-rating/

Viewing 1 replies (of 1 total)
  • Thread Starter supertester

    (@supertester)

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Aggregated rating not working’ is closed to new replies.