Quotes and such in WordPress…..


As nice as wordpress is, it can sometimes turn your life into a bit of a nightmare. Case in point the title in my previous post. I was trying to tell WP that I want straight double quotes (ie: “) and it kept insisting on beautifying it and turning it into curly double quotes. These curly quotes have a different meaning in Unix, so if you’re using a “cut-and-paste” unix command in your post title you’re kinda out of luck. There is a process called wptexturize that turns simple everyday quotes/doublequotes into what they call smart quotes. Anyways, to work around this you can use the following tables HTML names instead of the actual character when you’re writing your post:

Symbol HTML Name HTML Number Description
" " Double Quote
' Single Quote
‘ ‘ Left Single Quote
’ ’ Right Single Quote
“ “ Left Double Quote
” ” Right Double Quote
,

Leave a Reply