How To Add Single Quotes In WordPress Posts

By Angsuman Chakraborty, Gaea News Network
Sunday, September 3, 2006

Single quotes are a royal pain when using WordPress to post your code. WordPress, in its infinite wisdom, does some really bad things to it. And anyone who attempts to simply cut-n-paste your code sample is in for a rude surprise and you are in for some really trivial support calls. So here is how you write your single quotes in WordPress:
'

This is safe from WordPress mangling logic. For other such codes refer here.

Discussion
September 15, 2010: 5:44 am

Good Information.

Thanks for sharing.

May 23, 2010: 5:34 pm

Is this an post or flyer you came throughout? It’s an instance of muddy, baffled thinking. The writer is conscious from the Large Questions, but is trying to think his way via them in a naive way.

January 1, 2010: 7:40 pm

There is no diferents, the point is that they work fine :)

August 26, 2009: 9:55 am

I hit a link in google and read
a blog on this site about the economic
strain we are taking in SA. I tried to
find it once I registered, unfortunately
to no avail. Perhaps somebody could be
so kind as to show me the way? Anyway,
I’m here and waiting!
————–
Rockstarbabu
—————-

September 4, 2006: 10:01 am

Unfortunately your plugin does the same for double quotes too, which may or may not be what the user wants. It would be better to have it as an option, quicktags would be a better way I think.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :