On Line Casinos Canadian Currency Canadian Online Slot Gaming Best Canadian Online Gambling Site Play Cleopatra Online In Canada Canadian Real Slots Online Online Casino Bonus Canada Brand New Canadian Online Casinos Canadian On-line Casino That Uses Paypal Canadain Flash Casinos Casinos En Canada Canada Online Casino Coupon Code Blackjack Paypal Canada Canadian Bonus Casino Best Casino Accepting Canadian Online Canadian Blackjack Online Casino For Canadian Player Real Money Online Casino For Canadians Canada Slots Casino Slots Online Canada Best Canadian Online Casino Forum Canadian Casinos For Mac Gambling Age Canada Online Canadian Money Casinos Online Canadian Casinos Online Casinos That Except Canadian Money Good Online Canadian Casino Casino Sign Up Bonus Canada All Casino In Canada Real Gambling Online In Canada Online Gambling Slot Machines Canada Top 10 Online Canada Casino Roulette Online Casino Cleopatra Slot Canada Canada Casino Games Canadian Craps Online Casino Age Canada Best Casinos In Canada Canadian Online Casinos Top Ten New Canadian Casino The Best Canada Online Casinos Online Top Canadian Casinos Canadas Best Slots Online Canadian Online Casino Mac Canadian Only Online Casinos Top Online Canadian Casino Best Online Casino For Canadian Canadian Slot Machines Games Casino With Paypal For Canada Best Online Canada Casinos Best Online Casinos For Mac, Canada Play Canadian Online Slots Canada Slot Machines Slot Machine Games Canada Best Canadian Online Slots Canada Online Slots Real Money Credit Cards Gambling Canada Online Casinos Accept Canadian Players Canada Online Igt Casino Casino Canada Downloads Play Online Slots For Mac In Canada Canadian Paypal Deposits Casino Canadian Online Gambling Top Ten Canadian Online Casinos Top Canadian Casinos Canadian Express Casino Casino In Canada Mac Canada Online Casino Canadian Online Casino For Mac The Best Online Casino For Canadians Best Canadian Casino Canada Casino With Paypal Canada Casino Online Slots Online Slot Games Canada Best Canada Casinos Download Casinos In Canada Canadian Online Bonus Slots Online Casinos For Canadians Casino For Canadians Canadian Slots Online Play For Money Canada Online Canadian Slot Play Canadian Online Casino Canada Money Casino Games For Mac Canadian Mac Slot Downloads Online Casino Instant Deposit Canada Canadian Players Online Casino Slot Casino Canada 10 Dollar Canadian Casino Newest Casino In Canada Canadian Games For Money Canada Gambling Age Canadian Casino Slots Canadian Casino Games Playing The Slots Online In Canada Slots Canadian Canadian Best Bonus Casinos Canadian Slot Machine Games Canadian Video Slots Online Slots For Real Money In Canada Casino Canadian Money

Getting Rid of the Smiley Face (Thanks WordPress.com Stats!)

(Update: Since this post was written, the Automattic crew has added some optional styles you can add to your theme to hide the smiley face. See David’s comment below.)

Earlier this week I posted a tentative review of Automattic’s new WordPress.com Stats plugin available for all WordPress blogs. Now, as a follow-up, I offer a guide to ridding one’s blog of the Smiley Face (read: frustration and, somewhat, freaked-out-edness).

The Story

My friend Cory and I were throwing ideas back and forth on a WordPress theme when he directed my attention to the footer of the page.

“Did you put a smiley face down there?” asked Cory.

“Um. No.” said I.

“Are you sure?”

“Um. Yes.”

“Well there’s definitely a smiley face down there.”

“Yeah. Looks like it.”

“That’s pretty freaky man.”

The Explanation

First I checked the theme’s footer.php. Nothing in the source. Then I checked the HTML via a View Source of the page. No go. There wasn’t a single sign of the little bugger anywhere.

I changed themes. It was still there.

Then it hit me. Plugins. What plugins had I installed that could bring about something so…so…evil.

WordPress.com Stats!

Now, to be fair, it’s understandable that they would need to drop in a gif to track the stats on a blog. I get that. And I suppose it was also my fault for not checking the README before installing or playing with the plugin…but…um…uh…

Where was I going with this again?

The “So What”

Check the README for information on how exactly to get rid of that smiley face. Don’t set the image display to none, as that will hurt the stat tracking. The exact CSS to use is in the documentation for the plugin.

Of course, I would still suggest ditching the plugin because it isn’t locally hosted. If you’re going to branch out for stats anyway, check out how to use Google Analytics on your WordPress blog. Trust me, it’s better.


Did you enjoy this post? Then it might be worth your time to subscribe via RSS using your Feedreader or, if you prefer, via email.

About the Author: Ryan Imel

My name is Ryan Imel, and I’m a full time freelance web developer. I work a lot with WordPress, but am comfortable with other systems too.

23 comments so far

  1. chensamurai said:

    Hey! Samething here… I use the WordPress.com Stats system. It disappeared for now. But at a time, there certainly was a small weird smiley face thing. I have no idea what it was. Perhaps, if may come back.

    Weird…
    http://feedelite.com/

  2. This little guy has been following me around, I first noticed him on my site, then most of the blogs I have been to recently. I thought he was some kind of smiley stalker.

    Thanks for working it out and posting.

  3. Ant Harper said:

    Really bothered me for a while this little fella. I had drawn the same conclusions that it was a plugin causing it, after checking the theme code and source. Just glad it’s nothing malicious!

  4. Cisco said:

    Wait just a sec. I’m sure I’m missing something here. The README for getting rid of the smiley is located where exactly? Excuse my noobness.

  5. Brandon Cox said:

    He disappears when you are logged in as an admin, assuming you’ve kept the default setting that you aren’t counted as a visitor.

  6. addermaweexen said:

    Hey,
    My Name is, Robert
    some crazy threads
    check out my page:

    http://oeJ0vF43e0.spaces.live.com/

  7. photoTristan said:

    The smiley added by WordPress Stats was a stupid lame move on their part. It goes against all the rules of good design to force that on people’s blogs with no easy way to remove it. Instead, people like me just refuse to use that plugin at all.

  8. hi there!
    I made with photoshop anime myspace pictures.
    take a look at them:
    http://tinyurl.com/5nfjp4
    Thank you for your site :) xxoxo

  9. brandon said:

    thanks so much for the tip! i wouldn’t have thought something like an official stats plugin would do something so stupid.

  10. David Knight said:

    Try this in your CSS

    img#wpstats{display:none}

    source: the creators website
    http://wordpress.org/extend/plugins/stats/faq/

  11. I thought it was a virus at first :-(

  12. Hi Ryan, I just put together a little plugin that helps people deal with this. I know it’s painfully simple for most of us but for anybody who’s not comfortable editing CSS, they can download it from http://www.thisismyurl.com/featured/free-downloads/wordpresscom-stats-smiley-remover-plugin/

  13. mssmotorrd said:

    It’s the first time I commented here and I must say you share us genuine, and quality information for bloggers! Good job.
    p.s. You have a very good template for your blog. Where did you find it?

  14. Rebecca said:

    thank for posting. i was starting to feel craaazy.

  15. Yes, I have the same thing on my blog. Very freaky indeed.

  16. booboo said:

    Why wouldn’t they use a little 1×1 blank gif? I don’t understand why they’d impose an image on everyone’s website like that. Very annoying.

  17. Man, this has been driving me crazy. Thanks so much for posting how to get rid of it.

  18. finn said:

    love it. absolutely hideous little smiley face. was shocked and disgusted when I accidentally noticed it on my site- something you only see when logged too! shonkey donkeys. In any case, I use both- the quick view of wp stats is simple and basic, i like it for the quick-reference traffic report, but use google’s superior tracking for content effectiveness. thanks for the post.

Add to this discussion

Required: We need to know who you are.

Required: Your email will not be published. This will also give your comment a gravatar. (What is a gravatar?)

Optional: This will make your name clickable.

Required: Kind of the point of this whole form, don’t you think?

Trackbacks/Pingbacks

  1. [...] als het eerst leek, eigenlijk.  Toch wel lichtjes teleurstellend … Zeker als je bedenkt dat iemand anders mij al voor [...]

  2. [...] in the footer a tiny smiley. The explanation turns out to be quite simple and can be found here. The smiling face appears on WordPress-powered blogs and is used for web statistics (read more [...]

  3. [...] those of you who would like to know more about the Smiley Face frustrustration, Ryan Imel wrote a great piece on it a while back and there’s also a great piece on My Digital [...]

  4. [...] Theme Playground Getting Rid of the Smiley Face Thanks Posted by root 2 hours 36 minutes ago (http://themeplayground.com) This will also give your comment a gravatar what is a gravatar the smiling face appears on wordpress powered blogs and is used for web statistics Discuss  |  Bury |  News | Theme Playground Getting Rid of the Smiley Face Thanks [...]