Smart Quotes in WordPress

May 1st, 2006 by Kat Kingsley-Hughes

If 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... )

  1. Unzip the file "smart-quote-fix.php" into the wp-content/plugins folder.
  2. 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. Both comments and pings are currently closed.

Comments are closed.

%d bloggers like this: