Remove That Smiley Face From Your WordPress Site

2
Posted September 3, 2011 by Joe DiFiglia in Articles
wordpress-thumbnail-logo



Have you ever wondered why that smiley face shows up on your WordPress site? The short answer is that WordPress Stats creates this smiley face and uses it for tracking. In other words, this smiley face is responsible for giving WordPress Stats the information about visitors to your site. Sorry, you can’t get rid of it completely, but you can hide it very easily.

All you have to do to rid yourself of that smiley is add the following to your theme’s CSS file.

img#wpstats{width:0px;height:0px;padding:0px;border:none;overflow:hidden}

Note: These functions are not of my own creation, simply things I have found along the way.  If you are the author of this function, please let me know so I can properly credit you with your work!


About the Author

Joe DiFiglia

In early 2000 I became increasingly frustrated with hardware review sites praising less than satisfactory products. The saying: “if you want something done right, do it yourself” applies here. I wasn’t satisfied, so I did it myself; and here we are years later.

  • Nick

    thanks for the post, unfortunately it didn’t completely work.  the image is not longer there but the white background for the element still is.  it completely disappears, white and all, if you use “img#wpstats{display:none;}”  simple and it works.

  • Pingback: Skyscraper Day | MEGATechNews :: Mega Techie Goodness For the Masses