you're reading:
Html & inline css codes, Smilies

Avoiding accidental smilies

If you want no smilies in your blog, you’d better go to Settings>Writing and make sure this option isn’t checked:
“Convert emoticons like :-) and :-P to graphics on display”

If you do want smilies, and have this option on, you may occasionally run into trouble: most character combinations for smilies are safe, but there’s the unfortunate case of the “8)” combination (for the smilies you can use in blogs see here). One might very well want, say, the year 2008 in parentheses, and instead end up with 200 plus a smilie with black glasses (supposedly meaning “cool”).

Solution one, enclose the parenthesis in span tags:


Solution two, write the html code for the parenthesis:


(Both of course in the html post or page editor.)

Please don’t paste code in comments – see comment guidelines.


2 thoughts on “Avoiding accidental smilies

  1. Hey then Panos!
    It has been some bit of time-away for me, (but, as always for you: delete this post, or not, or correct, or not. It’s just that I like to see text displayed with visual cues as in print media)
    Your quote:
    “Convert emoticons like :-) and :-P to graphics on display”
    On my screen, :-
    is broken into a new line like this:
    ‘…”Convert emoticons like :-) and :-
    P to graphics on display”…’
    {BTW: my punctuation here is whacky!}

    If it were me, I’d put that quote on a line by itself.

    I would also make this into a new paragraph:
    ” If you do want smilies, and…”


    Posted by Tess | September 10, 2009, 05:37
  2. (I wonder what the equivalent of “aye, aye, Sir” should be in this case!)

    Welcome back, hope you had a great time, thanks for the comment, post duly updated, would much rather hear from you on Dickinson and Atwood (and the proper use of the verb “masquerade” that’s been bugging me since…)

    Posted by Panos | September 10, 2009, 05:57


author's avatar panos (justpi)

 Subject Index

Announcement 22/03/2012: After WP's latest move, this blog will no longer offer active support and assistance. The blog will remain online but commenting on older posts has been disabled.
✶ All theme-related posts are updated up to and including theme 189 in this list, but will not continue to be updated.


  • Views per month:
Safari Icon Firefox - Never Internet Explorer
Note: if you see ads on this site, they are placed by WordPress, not me.
Mostly on themes, formatting, coding, tweaks and workarounds.
Based on or springing from my contributing in the forum.
Theme-related posts constantly updated
Premium themes and Annotum not included
%d bloggers like this: