How To Remove Or Style The Happy Face In The WordPress Footer

WordPress footer smiley face

The WordPress footer smiley face (or happy face –I’m conflicted between both terms) is automatically implemented by WordPress Stats (WP Stats, Automattic) on WordPress websites and is used to count statistical totals and give WordPress users a visual of their footer location and errors (hypothetically).

Included is a simple step to remove the smiley face and CSS codes to remove or style the size and location of the happy face as well as solutions for repairing an out-of-position footer.

How do you remove the smiley face in the WordPress footer?

WordPress made it easy. Simply browse to Jetpack in your dashboard and click the configure button (shown in image).
Configure Jetpak Stats
Now, check the radio box which reads: “Hide the stats smiley face image. The image helps collect stats and makes the world a better place but should still work when hidden.” and click the Save configuration button.
Hide the stats smiley face image

Other options

Remove WordPress Footer Happy FaceThere are many other options to remove the smiley face from your WordPress blog or website’s footer, such as free plugins, BUT for better site speed and optimization (rather than using plugins) use a simple CSS code in your custom.css file (or style.css) to remove or change the visual style of the smiley face.

1. To completely remove the smiley face from the footer
Copy and paste the code below into your custom.css file or style.css file

img#wpstats{display:none}

2. To move the smiley face outside of browser view
Copy and paste the code below into your custom.css file or style.css file

img#wpstats {
position: absolute;
left: -999em;
}

3. To change the size of the smiley face
Copy and paste the code below into your custom.css file or style.css file
Adjust or keep the width and height as it is. To adjust size: Change 1px to any number, 2px, 3px, 500px, etc.

img#wpstats {
width: 1px !important;
height: 1px !important;
}
  • Sathish

    Good tutorial