How to get rid of curly quotes
Posted by Jean-Baptiste Jung over at WP Recipes and Cats Who Code, comes this fantastic hack on "How to get rid of curly quotes".
When displaying code in your Posts or Pages the lovely curly quotes can be(come) a big pain. Jean however comes with an ultra-simple solution.
Open your functions.php file (if you don't have one create one) and add the following 1 line of code:
< ?php remove_filter('the_content', 'wptexturize'); ?>
That's it! Upload the file to your theme directory and from now on displaying code on your WordPress website or blog no longer is a headache!
If you're not comfortable changing your theme files, then an alternative can be to head over to HTMLizer 1.0. This is an online tool for converting text with special characters into HTML readable text.
Popularity: 36% [?]





