Hide WordPress Stats Smilie

If you use the WordPress Stats plugin, you may have noticed the smilie added at the bottom of the page. The plugin itself offers no way to remove the smilie, and is actually required for the plugin to function properly. I myself use the service to keep tabs on traffic to my site.

However not all users myself included like seeing the little graphic in the bottom corner of the page, but just because its needed doesn’t mean you have to see it. Using a little CSS trickery we can hide the graphic from the user. Simply toss the following line in the bottom of your stylesheet and while the image will still be loaded it will be hidden from view, keeping the plugin functioning as it should.

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

No tips yet.
Be the first to tip!

Like this post? Tip with bitcoin!

1H8WRv8WQDQs712dyAqYToT8tT7HKmrYbJ

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

Leave a Reply