Escaping Emoticons/Smilies in WordPress

I like to keep the emoticons conversion on my blog as a whole but there are occasions in which specific strings should not be converted to emoticons. The most recent instance on my blog came in a comment.

Found the answer here:

WordPress – Prevent Smileys In Code Quotes

One method is to use spaces, but extra spaces are distracting. So, the best way is to replace the parenthesis with its ASCII code: “& #41;” (without quotes or space).

A bit hacky, but useful.

About enkerli

French-speaking ethnographer, homeroaster, anthropologist, musician, coffee enthusiast. View all posts by enkerli

2 responses to “Escaping Emoticons/Smilies in WordPress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: