Forum Replies Created

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

    (@jordanmatthewthompson)

    I found this onthe support site for the plug-in, but I have no idea what this stuff means. I don’t know if this is useful. I have zero coding experience.

    # ratings_input_table($custom_id = null)

    Outputs a table which collects ratings within the comment form of a post or page. Includes HTML which displays a table containing the dimensions you want to collect ratings for (ex: “value”, “support”, “reliability”) as well as JavaScript star rating widgets that allow ratings to be set by clicking on star images. Must be used between the <form> and </form> tags in comments.php for ratings to be submitted along with the comment.
    Usage Example:

    <?php if (function_exists(‘ratings_input_table’)) ratings_input_table(); ?>

    Output Example:

    <table class=”ratings”>
    <tr>
    <td class=”rating_label”>Features</td>
    <td class=”rating_value”>





    <input type=”hidden” id=”0_rating” name=”0_rating” value=”0″ />
    </td>
    </tr>
    <tr>
    <td class=”rating_label”>Support</td>
    <td class=”rating_value”>





    <input type=”hidden” id=”1_rating” name=”1_rating” value=”0″ />
    </td>
    </tr>
    </table>

Viewing 1 replies (of 1 total)