Hiding WordPress Stats Smiley Image In your Templates

If you are a WordPress user and using WP Stats service to see your blog statistics, you will notice that a little smiley image will be added to your footer template. I’m using WordPress for 1 year now and I found that it is sometimes annoying, but that smiley is not something you can remove since WP Stats uses that image as a tracking pixel.

Since you cannot remove it (as long as you want to use WP Stats service), you can hide it with a simple trick using CSS. Just paste this code into your stylesheet.css in your template:

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

And it’s done. Refresh your page and the little smiley image will be hidden and you won’t see it again. Just that simple, isn’t it?

Thanks for reading my blog and have a nice day…