25
Nov
2008

Subscribe
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>



Tags: hack, plugin, Wordpress

WP Greet Box icon
Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic.

Related Articles Latest Articles

If you can not find what you are looking for, you might want to try Google Advanced Search and get thousands of results, specifically selected for you.

Google Advanced Search
.

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

  1. 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

  2. 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!

  3. Kate Nickerson Says:

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

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

  4. Web Talk Says:

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

Leave a Comment

If you want to show an image next to your comments, get your gravatar now!

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

CommentLuv Enabled


Incoming Search Terms for the Article:

smile wordpress entfernen - remove smile in wordpress com - smilie wordpress stats - wordpress cms 8) is showing smiley face - wordpress diable auto smiles - wordpress smile in footer -

All contents are licenced under a Creative Commons Licence.
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.