WordPress.com Stats plugin for self-hosted WordPress blog (aka Automattic Stats plugin) is a good and free web visitors statistics tracker for WordPress blogging platform. The WordPress.com Status plugin provides the most popular metrics, stats and information that a blogger wants to track in a clear and concise interface.
However, after activating and implementing WordPress Stats plugin, a small smiley face icon will be displayed at the bottom of the page. The smiley face, although tiny in size, may affect the overall look and feel of the blog, or causing confusion among visitors about the image that appears oddly at the bottom.
Luckily, it’s possible to hide the smiley face added by the WordPress.com Automattic Stats plugin, by using the following CSS hack.
To hide the smiley face of WordPress.com Stats plugin, add the following CSS code to the WordPress blog’s stylesheet (style.css):
var e = document.getElementById(“wpstats”);
e.style.width = “0px”;
e.style.overflow = “hidden”;
Note that the image is required for proper stats gathering and traffic tracking. Anything such as applying “display:none” to the image will cause the image not to be loaded by the browser and will break the stats.