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.

3 Responses to “How to Disable or Hide WordPress.com Automattic Stats Plugin Smiley Icon”

  1. Christopher Ross
    March 25th, 2009 23:17
    3

    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.

  2. WordPress.com Stats Smiley Remover Plugin :: Christopher Ross
    March 24th, 2009 22:02
    2

    [...] 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. [...]

  3. Baz L
    December 27th, 2008 09:10
    1

    I’m a bit confused. The FAQ for the plugin say that img#wpstats{display:none} is fine…

    Go figure.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

desktop smiley filenotfound - desktopsmiley fileNotFound - desktop smiley file not found - http://invite.desktopsmiley.com - desktopsmiley.com/filenotfound.do? - WORDPRESS STATS SMILEY - http://www.desktopsmiley.com/fileNotFound.do - hide wordpress stat - www.desktopsmiley.com/fileNotFound.do? - how to stop Desktopsmiley seach? - www.desktopsmiley.com - http://www.desktopsmiley.com/filenotfound - www.desktopsmiley.com/fileNotFound.do - desktopsmiley.com/fileNotFound.do - http://www.desktopsmiley.com - disable wordpress stats plugin - free tiny smiely face - hide wordpress smiley face - How to remove smiley face from Wordpress blog - delete tiny smiley - wordpress stats disable smiley - www.desktopsmiley.comfileNotFound.do - how to stop Desktop smiley search? - wordpress disable smiley face - ://invite.desktopsmiley.com - hide code word press.com - wp stats remove smiley - hide the wp-stats plugin smiley face - how to get rid of "www.desktopsmiley.com" - how to remove desktopsmiley.com - wp stats smiley face - "http://invite.desktopsmiley.com - disable stats in wordpress - how to stop desktop smiley - how do I center the wp stats smiley - how to disable stats info - wordpress custom page stats not working css smiley - http://www.desktopsmiley.com/ - tiny smiley face wordpress - wordpress .com stats smile - how to disable the desktop smiley - how to disable the desktop smiley - how to disable smilies into wordpress.com blog - hide wp stats smile icon - wordpress plugin remove smile - remove smile from wordpress wp-stats - smiley wordpress bottom page - hide img #wpstats - img#wpstats{display:none} - remove wp-stats remover -