Turn off smart quotes in WordPress

Add the following lines to functions.php

remove_filter(‘the_content’, ‘wptexturize’);
remove_filter(‘the_excerpt’, ‘wptexturize’);
remove_filter(‘comment_text’, ‘wptexturize’);

Leave a Reply

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