How to Disable or Hide WordPress.com Automattic Stats Plugin Smiley Icon
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):
img#wpstats{width:0px;height:0px;overflow:hidden}
Alternatively, add the following JavaScript code into the WordPress footer.php after wp_footer() declaration:
<script type=”text/javascript”>
var e = document.getElementById(“wpstats”);
e.style.width = “0px”;
e.style.height= “0px”;
e.style.overflow = “hidden”;
</script>
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.
One consent of using the CSS or JavaScript above is the usage of hidden overflow style, which may be treated as a hidden text or hidden link by search engines especially Google that may gives penalty to such implementation that may be perceived as untrustworthy since it presents information to search engines differently than to visitors.
Related Articles
- How to Disable and Turn Off vBulletin Plugin and Product System
- Disable WordPress 2.3 Core and Plugins Update Check and Notification
- Easy Way to Hide or Show Notification Area Icons on Taskbar in Windows 7
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam
- Activate and Enable Premium FeedBurner Stats PRO for Free
- Must Have WordPress Plugins
- Hide or Disable Snap Preview Anywhere (SPA Site Preview) Bubble Pop Up
- How to Hide or Remove Action Center Icon from Notification Area in Windows 7
- Hide and Remove Vista Recycle Bin Text Wording on Desktop
- Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality










































March 25th, 2009 23:17
Hi there, I put together a quick plugin that inserts the CSS for users. I know it’s a bit overkill for anybody who’s comfortable editing their CSS files but for those who won’t (or can’t) edit it directly, you can download my plugin and have it taken care of for you.
March 24th, 2009 22:02
[...] For those of you who would like to know more about the Smiley Face frustrustration, Ryan Imel wrote a great piece on it a while back and there’s also a great piece on My Digital Life. [...]
December 27th, 2008 09:10
I’m a bit confused. The FAQ for the plugin say that img#wpstats{display:none} is fine…
Go figure.