Support » Plugin: Comment Rating » [Plugin: Comment Rating] Incompatible with Thesis theme?

  • ArcherTC


    I have seen this work on other sites to great effect. Unfortunately, this is not compatible with Thesis 1.7; at least not out of the box. I see that there has already been some discussion on this on the developer’s foum, but I do not see any solution and I was unable to leave a comment there (bizarre comment box problem).

    Any tips — on how to adapt this for Thesis or on another Thesis-compatible plugin that provides the same — would be very welcome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff


    You might want to check with the Thesis support forums too:

    Plugin Author bobking


    It’s a bug in Thesis 1.7.

    You’ll have to modify /lib/classes/comments.php in Thesis 1.7

    Around line 276 you’ll see:
    if ($output) echo $output;

    Change it to:
    if ($output) echo apply_filters(‘comment_text’,$output);

    Thesis users – There is no need to edit your Thesis core files as bobking has suggested.

    The fix is very simple using one of Thesis’ built-in filters. Just put this in your custom/custom_functions.php file:

    function filter_comment_text($output) {
    return apply_filters(‘comment_text’,$output);


    Thanks Dameian, but it was actually bobking’s tip that worked for me. (Not sure why yours didn’t.) I appreciate that all of you took the time to help me out! Sorry for not updating the thread sooner with my results.

    An issue I was getting was this error, function ckratingKarma not defined. All you need to do is call the ck-karma.js file to fix that. Now the rating system worked.

    Call this in the footer.php:
    <script type=”text/javascript” src=”/wp-content/plugins/comment-rating/ck-karma.js” charset=”utf-8″></script>


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Comment Rating] Incompatible with Thesis theme?’ is closed to new replies.