Hello,
I need some help. I've installed the latest version of GD Star Rating, then I added some lines in order to integrate Star Rating with comments in a post, here is an example:
$comment_args = array('comment_field' => '<p class="comment-form-comment"><h5>My Review</h5>'. wp_gdsr_new_comment_review().'<textarea id="comment" name="comment" aria-required="true"></textarea></p>',
...
);
comment_form($comment_args);
The comments form looks like good (Text Area comment + Star Rating) appears, but when I rate, send the form & approve the comment, the plugin is not recording(saving) the rating for the post.
I tried with Admin User (author), Registered User and Unregisterd user with the same result.
In another hand, I put the following line in the post template
wp_gdsr_render_article(10, false,'');
and the rating is working fine. The problem is with the comments.
Could you please shed some light here?
Thanks in Advance.