Support » Plugin: GD Star Rating » Dynamically get numerical value of rating instead stars for Editors and Users

  • Can i get dynamicly numerical value of rating instead Stars for my post with ID 108 in WordPress. In my case i have table with reviews(one post is one review) i want to take in table dynamicly my Editors Review and Users Review in numerical ( like 4.5 , 3.0 ). How this can be done. I read a few times the documentation and searched everywhere in google..but unfortunately without success. Thank you in advance!

    Kind Regards,
    Galin Stefanov!

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

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

    (@galinstefanov)

    wp_gdsr_render_rating_results(array(‘template_id’ => 48, ‘select’ => ‘post’, ‘category’ => 9, ‘min_votes’ => 1));

    When i use this function i get
    TITLE | VOTES | RATING | REVIEW
    Post1(name) | 1 | 5.0 | 5.0
    Post2(name) | 1 | 5.0 | 5.0

    But this is list with all posts which are from category 9 and have more than 1 vote
    I want to get for example ONLY for POST with ID 108 in my WordPress. How could this be done? I tryed wp_gdsr_render_rating_results(array(‘template_id’ => 48, ‘select’ => ‘post’, ‘post’ => 108, ‘min_votes’ => 1));
    wp_gdsr_render_rating_results(array(‘template_id’ => 48, ‘select’ => ‘post’, ‘post_id’ => 108, ‘min_votes’ => 1));
    wp_gdsr_render_rating_results(array(‘template_id’ => 48, ‘select’ => ‘post’, ‘post_id’ == 108, ‘min_votes’ => 1));

    Thank you all in advance!

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamically get numerical value of rating instead stars for Editors and Users’ is closed to new replies.