scriptygoddess

14 Jun, 2004

Removing "curly" quotes

Posted by: Jennifer In: WordPress Hacks

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 | Removing the Curly Quotes From WordPress : too lazy to blog

October 27th, 2004 at 12:18 am

Avatar

[…] t', 'wptexturize'); //add_filter('the_excerpt', 'wptexturize'); does the trick. Thanks to Scripty Goddess this blog's just a little prettier. […]

2 | keith

June 15th, 2004 at 4:11 am

Avatar

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……

3 | AndrewSW: Blog

June 15th, 2004 at 6:05 pm

Avatar

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…

4 | Alex

June 15th, 2004 at 9:06 pm

Avatar

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

5 | Shae

June 16th, 2004 at 8:36 am

Avatar

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.

6 | pericat

June 19th, 2004 at 3:42 am

Avatar

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.

7 | James

October 26th, 2004 at 8:26 pm

Avatar

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

And I like how it actually looks good now.

8 | mdawaffe

April 23rd, 2005 at 9:43 pm

Avatar

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

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements