Why WordPress Stats Stopped Working

So your WordPress stats don’t work?

A few days ago the theme here on WordPressArena was changed and a few days later I checked my stats in the WordPress dashboard and I saw nothing at all. Now I know I am not getting tons and tons of traffic but when I saw absolutely none for a few days I knew there was a problem with one of the plugins or the theme. If you recently changed or edited your theme this may be why. Here is a short WordPress guide to check and fix your WordPress stats.

The WordPress.com Stats uses a bit of code in your footer template to run the plugin. Even if you have a footer.php file the code below must be in the file in order for the plugin to work. I am not going to get into why or how because I don’t know and frankly all I wanted was for it to be fixed and it worked.

Open your footer.php file and make sure you have the needed code in place to run the plugin shown below, near the bottom of the file just above the closing body or Html tags:

<?php wp_footer(); ?>

</body>
</html>

This fix worked for me and stats started showing immediately.

Disclosure: Some of the links in this article are affiliate links and we may earn a small commission if you make a purchase, which helps us to keep delivering quality content to you. Here is our disclosure policy.

Editorial Staff
Editorial Staff
Editorial Staff at WPArena is a team of WordPress experts led by Jazib Zaman. Page maintained by Jazib Zaman.

LEAVE A REPLY

Please enter your comment!
Please enter your name here
Captcha verification failed!
CAPTCHA user score failed. Please contact us!

spot_img

Related Articles

Why Custom Software Development Drives Business Success

Companies desire software solutions that are specifically designed to their specific processes and objectives in today's high-speed virtual world.  While...
Read More
We started WPArena back in 2008 and we had one main goal: teaching people how to be successful with WordPress....
Imagine walking into a library where books are scattered everywhere with no rhyme or reason. Frustrating, right? The same goes...