Skip to content

How do I get rid of that silly smiley face?

2009 July 17
by Alexia

WordPress.com Stats Smiley FaceThe smiley face you see on lots of WordPress powered sites is a cute reminder of the WordPress.com Stats plugin. If you have that plugin installed and see a smiley face, that means you have a theme that doesn’t automatically hide it. Here are a few ways to get rid of the cute but annoying little bugger.

  1. Add a line in your style sheet to hide it.
    In your WordPress Admin, go to Appearance > Editor and select your stylesheet. Paste in the following code:

    img#wpstats{width:0px; height:0px; padding:0px; border:none; overflow:hidden}
    This forces the smiley face image into a box that essentially has no dimensions.

    **Please back up your style sheet before you make ANY changes, just in case!**

  2. Use a theme that hides it without you having to do a thing.
    Most paid themes and some free themes are including that line of code (or something similar). This theme, Vigilance, is one of them.
  3. Or use a Plugin:
    If you don’t want to bother with code & don’t want to search for a new theme, the WordPress.com Stats Smiley Remover Plugin will solve your smiley face woes with just a couple clicks.

    In your admin, go to Plugins > Add New & search for the WordPress.com Stats Smiley Remover and install it directly from your WordPress Admin.

    Activate the plugin & it should be gone.

It seems there’s a plugin for just aobut everything these days – just be aware the more plugins you use, the slower your site will be. So I recommend one of the first two options instead of the Plugin route.

3 Responses leave one →
  1. May 11, 2010

    thanks for pointing people to the plugin, I hope it’s helpful. Chris
    .-= Christopher Ross´s last blog ..By: Neil =-.

  2. August 8, 2010

    Thanks for the tip. I added the style to my css file and it worked perfectly.
    Josh Deknoblough´s last [type] ..Pending Home Sales Decline by 26 in June

  3. February 28, 2011

    The smiley face for me only shows up when I browse with Internet Explorer. It doesn’t come up if I use Firefox.

    I tried adding the line of code in style.php and the plugin. Both don’t work.

    My theme is Twenty Ten. Any help?

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

CommentLuv badge

Bad Behavior has blocked 176 access attempts in the last 7 days.