Remove Smilies, once and for all

One of the most annoying features ever in WordPress is the “feature” to convert smilies into images of smileys, MSN style. Where lots of stuff like this is dismissed these days as “plugin territory”, this annoying feature has been in WP since 0.71…

Anyway, sometimes you’ll want to disable this feature from within your theme, or maybe even as a sitewide plugin to disable it all over your WordPress MU installation. It’s pretty simple to do:

function yst_remove_smileys($bool) {
  return false;

If you want to do that sitewide, add a plugin header to it and throw it in the mu-plugins dir of your WordPress MU installation.

Tags: runs on the Genesis Framework

Genesis theme frameworkThe Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides you with the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

Read our Genesis review or get Genesis now!

7 Responses

  1. StijnBy Stijn on 14 July, 2009

    So this would do exactly the same as disabling the emoticon-option under ‘Settings’ > ‘Writing’?

    • Joost de ValkBy Joost de Valk on 14 July, 2009

      Yes, but for all blogs in a WP MU installation at once :)

  2. LyndiBy Lyndi on 24 July, 2009

    This is something I have been wanting to do for so long now. These things just mess up the line-spacing in the comments etc. Smilies are also being mis-used these days. People believe that horrid, sarcastic remarks are somehow justified if you add a smiley to the end. Now if only you could figure out a way of getting rid of the mentioned comments.

  3. Bouke van der BijlBy Bouke van der Bijl on 24 July, 2009

    Why cant you just use



  4. tjBy tj on 20 August, 2009

    Buhahahaha :)

    I am saying something useful

  5. RyrosBy Ryros on 25 August, 2009

    I’ve been trying to remove these non-seo optimized smileys for some time. This is great!

  6. Email Marketing SolutionsBy Email Marketing Solutions on 6 October, 2009

    Informative post. You are doing very well job! keep it up.