WordPress Plugin: “Disable wptexturize”
September 25, 2007 by Jason · 51 Comments
"Disable wptexturize" is the second plugin I've created for WordPress. To be honest, as far as plugins go, they don't get much simpler than this one. Aside from the header info, it consists of a grand total of three lines of code. Those three lines, though, make a world of difference to someone trying to run a site where formatting is important.
The purpose of this plugin is to stop the wptexturize filter from running on your content, the excerpt for your content (if you use it), and the comments left by your visitors. The texturizer mangles your code by converting what you actually type to what it thinks you mean. For example, the difference between "--" and "–" or straight quotes (what normal people use) and smart quotes (what Microsoft Word uses) is night and day when you're trying to run a command on a *nix system or compile a bit of code.
To be honest, I don't have any idea why disabling the texturizer isn't an option in the default code. I have to believe that there are tons of people who are annoyed by it, just as I was...
Regardless, here's the solution for you. Turn my plugin on, the texturizer goes away. Turn my plugin off, it comes back. Installation is simple, just unzip the file below into your plugins directory and then activate it from the plugins page in your blog's admin section.
Comments
51 Responses to “WordPress Plugin: “Disable wptexturize””Trackbacks
Check out what others are saying about this post...[...] wptexturize?http://www.jasonlitka.com/2007/09/25/wordpress-plugin-disable-wptexturize/ [...]