|
|
|
If 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
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”
Leave a Comment
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 -Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.

March 25th, 2009 at 9:43 am
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
March 25th, 2009 at 10:03 am
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!
May 26th, 2009 at 8:00 pm
Thanks! Those stupid smiley faces were bugging me so much.
Kate Nickerson´s last blog post..Helvetica Poem and Moleskine
May 26th, 2009 at 11:08 pm
Glad to help you Kate! Hope to see you more often here at Web Talk. My demographic statistics is lacking girls!