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 ArticlesLatest Articles
- How to Automatically Login (Access) to Windows 8
- How to See and Read Unread, Archived and Sent Messages on Facebook
- Switch to the New Facebook Profile Layout (Timeline)
- How to Discover and Recover All Stored Passwords in your Windows Computer
4 Comments to “How to disable the smile face in WordPress”
Leave a Comment
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 -Web Talk is best viewed in Firefox.
March 25th, 2009
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
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
Thanks! Those stupid smiley faces were bugging me so much.
Kate Nickerson´s last blog post..Helvetica Poem and Moleskine
May 26th, 2009
Glad to help you Kate! Hope to see you more often here at Web Talk. My demographic statistics is lacking girls!