Smart Quotes in WordPress
May 1st, 2006If you’ve ever posted code into a WordPress blog you may have noticed that single quotes (‘) get changed to smart quotes (‘).
One solution for preventing this is to remove the filters that are reformatting the text you enter. Download the plug-in fix to prevent smart quotes. (This is basically Katja’s hack put into plugin form. I expect someone else has saved this as a plug-in somewhere, but I haven’t found it myself as yet and this site is as much a repository for things I need to remember as for others to use! So apologies for any duplication… )
- Unzip the file “smart-quote-fix.php” into the wp-content/plugins folder.
- Log into WordPress site admin and click on the Plugins tab. Activate the plug-in from the list.
This entry was posted on Monday, May 1st, 2006 at 11:18 pm and is filed under Wordpress. You can leave a response, or trackback from your own site.
