GD Star Rating
GD Star in Comments - Use outside loop (1 post)

  1. nbiz
    Posted 3 years ago #

    Hi there,

    I have worked with gd star on other sites and templates with no issues .... but I have recently tried to integrate gd star multi-ratings in COMMENTS with no luck using the following type of template:

    - Twenty Eleven Responsive (child theme)

    All you need to do is to add call to a PHP function somewhere in this loop that will render saved rating. Line 39 in this file: 1 <?php comment_text() ?>

    The issue is that this template processes comment_text function through functions.php NOT comments.php.

    So the following calls don't work when added in functions.php since they need to be in the loop which is in comments.php:

    [90 lines of code moderated as per the Forum Rules. Please use the pastebin]


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic