Post Pic

How to: Remove curly quotes from your comments

Some time ago, I shown you how to get rid of curly quotes on your WordPress blog and avoid broken codes. This time, let’s see how to apply the same method to remove curly quotes on your comments.

To achieve this recipe, simply paste the following line of code on the functions.php file from your theme.

remove_filter('comment_text', 'wptexturize');

That's easy as that! Say goodbye to broken codes!

Leave a Comment

* Name, Email, Comment are Required