Removing “curly” quotes

I’m not a big fan of the “curly” quotes. Wordpress does them automatically - but this can really mess you up if you’re copying and pasting code from a post. So I’ve turned them off…

As seen on this thread on the WP support forum - I’ve commented out all the lines at the end of vars.php (found in your includes folder) that look like this:

add_filter(’the_SOMETHING‘, ‘wptexturize‘);

8 Responses to “Removing “curly” quotes”

  1. keith Says:

    i try to minimize the “” thing but it seem that i always end up using one. it is very buggy cos i always type my blog on ms word and paste into my blog and everytime, i have to reformat the “” or ‘. so fustrating……

  2. AndrewSW: Blog Says:
    scriptygoddess: removing curly quotes
    scriptygoddess: removing curly quotes

    I’m not a big fan of the “curly” quotes. Wordpress does them automatically - but this can really mess you up if you’re copying and pasting code from a post. So I’ve turned them off…

    As seen on this t…

  3. Alex Says:

    My WP Unformatted plugin allows you to disable them on a per post basis. I’m not a big fan of them either. :)

  4. Shae Says:

    I love coming here to read what you’ve dug up or figured out. Thanks for that:) I am also wondering how you got Bloglet to work with WP. I can’t seem to get my feed ironed out. I get date string errors each time.

  5. pericat Says:

    I’ve done up a quickie plugin to turn off wpautop and wptexturize in posts and excerpts (but leave comments alone). Otherwise I could not have imported my photolog; over 600 entries where the <img> tags are split across several lines. I’ve just put it up for downloading, if you think it would help.

  6. James Says:

    Thanks a lot, this has helped me and my friend if just a little.

    And I like how it actually looks good now.

  7. Removing the Curly Quotes From WordPress : too lazy to blog Says:
    [...] t’, ‘wptexturize’); //add_filter(’the_excerpt’, ‘wptexturize’); does the trick. Thanks to Scripty Goddess this blog’s just a little prettier. [...]

  8. mdawaffe Says:

    Sorry to go all Lazarus on this post, but if any WordPress version 1.5 user stumbles across this nice explanation, the file to edit has changed from version 1.2.x.

    The file you want is now
    wp-includes/default-filters.php