WordPress.com Stats Stopped Working

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 :

<?php wp_footer(); ?>
</body>

Best of luck!

Comments

  1. By Leon

  2. By John

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This
Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

%d bloggers like this: