05 Feb

Preventing WordPress From Rewriting Single-Quotes

I just want to point to something useful for WordPress users who embed code and get burned by WordPress rewriting single-quotes.

One solution to the problem is to embed the following code into your functions.php page.

remove_filter(‘the_content’, ‘wptexturize’);

So far it looks like it’s working. I may have some earlier posts that are still a problem but given the massive volume this site is getting at the moment I’ll take my chances on it.

And credit where credit is due, this is where I found the answer, much thanks!

Leave a Reply

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