Make Polldaddy Comment Ratings Work with Thesis

The Polldaddy Polls & Ratings WordPress plugin is an easy way to enable readers to rate comments, either on a 5-star scale, or “Nero”-style thumbs up or down. However, it won’t work for adding ratings to comments if you use Thesis.

Fortunately, it is an easy fix. Just go to Plugins > Editor, then select the Polldaddy Polls & Ratings plugin from the drop-down menu and click the Select button. Below Plugin Files, click on the polldaddy/rating.php link. Use Ctrl+F to search for comment_text, which should take you to this line:

add_filter( 'comment_text', 'polldaddy_show_rating_comments', 50 );

Just replace it with this line:

add_filter( 'thesis_comment_text', 'polldaddy_show_rating_comments', 50 );

Click the Update File button, and your ratings should show up. Just remember that you will have to update this any time the Polldaddy Polls & Ratings Plugin gets updated.

Published by Sam Glover

Sam Glover is a lawyer and the founder and Editor in Chief of Lawyerist.com. He also works with lawyers on motion practice and appeals, and is President of the board of directors of HOME Line, a nonprofit Minnesota tenant advocacy organization.

Leave a comment

Your email address will not be published. Required fields are marked *