I recently integrated a blog and documentation base into the Tribulant.com website and noticed after a few days that my WordPress.com stats stopped working completely after switching the theme.
I’ve been puzzled about this for a few days now and managed to figure out that, out of idiocy, I completely forgot to call the wp_footer function in the footer.php file of my custom theme. If you recently changed your WordPress theme and noticed that your stats stopped working, ensure that the wp_footer function is called in your footer file, just before the BODY tag. See the example below :
</body>
Best of luck!







January 25th, 2009 at 10:20 pm
Awesome. Dankie.
This tip fixed my borked stats counter.
June 27th, 2009 at 10:24 pm
Yep, the footer is a very important in the creation in wordpress themes, particularly if you want your stats to show.
April 25th, 2010 at 10:43 am
Antonie thanks for this beneficial and important tip.
Cheers!
-John
May 31st, 2010 at 9:19 am
Its works thanks for the information; we where having the same issue awhile back.