How to remove smiley face from WordPress blog

in Wordpress

How to remove smiley face from WordPress blogHow to remove smiley face from WordPress blog

OK, so in all honesty I have not been using WordPress for very long and even though I have some html knowledge, php is still fairly new for me. In beginning to use WordPress you will want to know if anybody is actually visiting your site and reading your posts. The easiest way to get this information is to use the WordPress.com Stats Plugin.

WordPress.com Stats plugin for self-hosted WordPress blogs is a great tool and you can use to get a quick snapshot of visitors to your website – the best thing is its free! The WordPress.com Status plugin provides the most popular metrics, statistics and information that a new blogger would want.

A very weird thing that you may notice after implementing the WordPress.com Stats Plugin is that a small smiley face icon will be displayed at the bottom of the page. The smiley face is extremely small in size, however this may affect the look and feel of your blog and may impact on the overall anesthetics of your blog.

So How to remove smiley face from WordPress blog?

It is very easy to “hide” the smiley face created by the WordPress.com Stats plugin by following the below steps:

  1. Navigate to Appearance – Editor
  2. Select your stylesheet (usually something like style.css)
  3. Add the following code to the last line of your stylesheet

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

What this does is that it “hides” the image from being able to be seen – it does not actually remove it. Why? Because the image is required for proper stats gathering and traffic tracking by the plugin. Do not use something like display:none to the image as this will cause the image not to be loaded by the browser and thus not allow for data collection.

So, if you really don’t like the smiley face, and have been wondering How to remove smiley face from WordPress blog; your just one line away from making it disappear.


The Webonaire

Cemil Ozcelik
www.OnlineBusinessBlackbook.com © 2009 - 2010

If you like this post, you might also like:

If you found this page useful, why not use the social media buttons above to add it on your favorite social sites and also subscribe to the RSS feed for more interesting posts from Online Business Blackbook.

Also Check Us Out On Facebook and Twitter

{ 1 comment… read it below or add one }

Nasrul Hanis July 1, 2010

Now I understand why the smiley icon appears on my sites! Thanks a lot!

* The smiley is quite cute too. I’m OK with that :)

Reply

Leave a Comment

Previous post:

Next post: