25
Nov
2008



Bookmark and Share

wordpressIf your WordPress blog is hosted on Worpress.com server, you should know that one of its biggest features is its free Automattic Stats plugin, which gives you useful information about people visiting your blog. Anyway, the most unpleasant feature of this plugin is the world-famous smiley face (icon) which sometimes drives bloggers crazy while trying to disable it. So, let’s see how we can disable, delete and erase that little stupid face from your nice blog.

To get rid of the little smile face it is just sufficient to add this piece of code in your style.css located in your theme’s folder:

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

Alternatively you can also add this other javascript code in the the WordPress footer.php right 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>




Related Articles Latest Articles
.

4 Comments to “How to disable the smile face in WordPress”

  1. Web Talk Says:

    Glad to help you Kate! Hope to see you more often here at Web Talk. My demographic statistics is lacking girls! 🙂

  2. Kate Nickerson Says:

    Thanks! Those stupid smiley faces were bugging me so much.

    Kate Nickerson´s last blog post..Helvetica Poem and Moleskine

  3. Web Talk Says:

    Thanks for the tip and for plugin Ross! You are right, a lot of bloggers are not tech-savvy and prefer to give all the “hard work” to a plugin. Well Done!

  4. Christopher Ross Says:

    This is a great tip but since some people can’t edit their CSS files (or are too technically terrified to do it) I’ve written a small plugin they can download that’ll do it for them. (http://www.thisismyurl.com/featured/free-downloads/wordpresscom-stats-smiley-remover-plugin/)

    Christopher Ross´s last blog post..WordPress.com Stats Smiley Remover Plugin


Copyright © 2007-2017 | Sitemap | Privacy | Back To Top
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.

Stat