Skip to content

Fixing smart quote problem in WordPress

By default, WordPress displays apostrophes and double quotation marks as smart quotes. This causes major problems for displaying programming code. A search for a way to turn off the smart quoting led to a number of possible solutions:

I settled on the solution in the first article, which is to create a small plugin that removes the wptexturize filter from a number of places.

Post a Comment

You must be logged in to post a comment.