Wordpress Stats Fix

If you’ve recently made changes to your Wordpress theme or templates, you might notice that your Wordpress Blog Stats have stopped working. If so, here’s a fix:

Open up your footer.php file, and just before the closing </body> at the bottom of the file, make sure you have:

<?php wp_footer(); ?>

This happened to me- I must have deleted that bit of code because it looked redundant to me, but apparently it’s used by various plugins to insert PHP codes after everything else on your page.

And if you’re wondering whether you should install the Wordpress Blog Stats plug-in, do. Even though I use Google Analytics, I love being able to check my stats from within my Wordpress control panel.

1 Comment

  1. by kdays
    on January 29, 2008 at 10:26 am

    Thanks for the tip. I’ve given it a go and hopefully will soon have the stats back.

    Cheers!

Leave a Comment




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

By submitting a comment here you grant Weblog Labs a perpetual license to reproduce your words and name/web site in attribution. Inappropriate comments will be removed at admin's discretion.

    Search the Blog