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>


Tags: , ,


Related ArticlesLatest Articles
.

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!

This blog is moderated. Inappropriate comments will be edited or removed. Users posting offensive comments will be banned from this blog. Report Inappropriate Comments Here.

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>


Users Important Words

smile wordpress - wordpress smile - disable icon smile wordpress - logo smile on footer wordpress - plugin smile wordpress - remove smile wordpress statistics - smile bei wordpress - wordpress stats smiley face ie -

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

Stat