Stats fixed

Seems my theme is one of the ones that does not work properly with WordPress Stats. Apparently WP Stats looks for a line that sometimes gets left out. Figured I’d share the fix for those of you who’d rather not change themes.

Thanks to Otto42 from the WordPress Support forums for this.

The code is not there. So, do the following:

Edit your theme. Look for the “footer.php” file.

In that file, right before the </body> (or just before the end of the file if there is no </body>), add this code:
<?php wp_footer(); ?>

Once you get that on your site, the stats should start working.

Now that that’s working, it’s one more thing out of the way. :)

Leave a Comment

Name (required)

Mail (will not be published) (required)