Showing posts with label stats plugin. Show all posts
Showing posts with label stats plugin. Show all posts

Thursday, January 22, 2009

Two ways to hide the smiley face of Stats plugin Stats is one bang-up plugin, created by Automattic, besides Akismet. In order to use it, all we need is the API key. The rest is automatic. This plugin, which does not run on our server, will accumulate information on pageviews, popular posts and pages, where your traffic is coming from, and what people click on when they leave. The stats can be seen on the dashboard.

In order to collect the stats, the plugin will display an image of smiley face, which is usually located at the bottom of the page. However, if you don't like it, you can actually hide it. Actually, it is very easy. Just append this css code snippet into your theme style.css file.

As an alternative, you can append this Javascript code snippet into footer.php, after the wp_footer().
<script type="text/javascript">
var e = document.getElementById("wpstats"); = "0px"; "0px"; = "hidden";

Good luck.

Update: If you are too lazy to hack the CSS file, you can use the Stats Smiley Remover Plugin.