ETA: Alternatively, I’m not opposed to turning off comments altogether so long as the rating area has a text-box option as well, where a user can leave a review.
I realize this plugin is called GD *STAR* Rating, but is a textbox comment in addition to the star rating an option?
Hrm, well after finally digging up this (4 years old) tutorial, I successfully integrated the review system into the comments form, but have been stumped as to how to get the review to display WITH the comment on submission. The code provided:
<?php if (defined("STARRATING_INSTALLED")) : ?>
<div style="float: right">
<?php wp_gdsr_comment_integrate_multi_result(get_comment_ID(), 1, 0, "crystal", 16); ?>
</div>
<?php endif; comment_text(); ?>
(my multiset ID was “1”)
The comment text is indeed shunted to the left, making way for the float-right div on the right, but nothing shows up, so there’s just a big gray hole.
Related, I only want this to show up in my PAGES comments; it’s showing a rating box on EVERY post/page though. I realize it’s integrated into the comments, but even pages where no comments are displayed show the star rating box. What gives?
(@fencer_x)
10 years, 10 months ago
Hi,
I run a small publishing house website and am feeling kind of overwhelmed at all of the options available with this plugin, so I thought I’d just try posting a question.
I want to give each book we release its own page with a summary/cover/tags/etc. However, I would like customers who buy the book to be able to leave comments on how they liked it.
I can turn comments on and off for individual pages, so that’s not a problem, and ideally, I’d like to have the comment form have the multiset star rating integrated into it somehow.
Is that possible at all? I want the comments themselves to function like reviews, with ratings and text-based comments all included, as a help to other customers.
Is this function bundled into GDSR somewhere? It’s very possible I’ve overlooked it!
http://wordpress.org/extend/plugins/gd-star-rating/