10th Apr, 2009

Solved: Ocean Mist 2.0 and problems with Firestats

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

I updated my wordpress theme some days ago to the Ocean Mist 2.0 template.

Today I find out that Firestats was not working anymore with it, however it worked well with the previous version of Ocean Mist.

Reading the FAQ of Firestats I understood that the problem was that the new Ocean Mist 2.0 theme was not calling the function wp_head().

Indeed Firestats, to be able to track the visits to your blog, needs

“[...] a call to wp_head() in your theme header.php file. Look in the default theme for an example of how it should be. Also, it goes without saying that FireStats must have been activated from the plugins menu.”

Therefore I added the following line:

<?php wp_head(); ?>

in the file header.php just after the tag

<head>

Now everything is working perfectly!!! :)





Responses

Thanks very much for that – I had the same problem running some other plugins on a site I’m working on, which this fixed.

Very well, I’m glad it helped you!

[...] reading the comments on the Ocean Mist website, I found a link to this page which addressed a similar problem with FireStats and this [...]

Thanks so much for this fix, had the very same issue with ‘Visitor Maps and Who’s Online’ plugin and Ocean Mist v2.0

Cheers !

You’re very welcome!

Leave a response

Your response:

Categories