10 apr 2009

Solved: Ocean Mist 2.0 and problems with Firestats



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!!! 🙂


Subscribe to Comments

5 Responses to “Solved: Ocean Mist 2.0 and problems with Firestats”

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

     

    James Nimmo

  2. Very well, I’m glad it helped you!

     

    MDT

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

     
  4. 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 !

     

    spanik

  5. You’re very welcome!

     

    MDT

Leave a Reply

Message:

  • Ricerca

    or
  • Language

  • Categorie

  • Delicious

  • Statistiche


    Warning: Illegal string offset 'timestamp' in /home/mhd-01/www.micheledallatorre.it/htdocs/blog/wp-content/plugins/firestats/firestats-wordpress.php on line 1081

    Warning: Illegal string offset 'timestamp' in /home/mhd-01/www.micheledallatorre.it/htdocs/blog/wp-content/plugins/firestats/firestats-wordpress.php on line 1081

    Warning: Illegal string offset 'timestamp' in /home/mhd-01/www.micheledallatorre.it/htdocs/blog/wp-content/plugins/firestats/firestats-wordpress.php on line 1081

    Warning: Illegal string offset 'timestamp' in /home/mhd-01/www.micheledallatorre.it/htdocs/blog/wp-content/plugins/firestats/firestats-wordpress.php on line 1081
    • Pages displayed : 33362
    • Unique visitors : 18465
    • Pages displayed in last 24 hours : 0
    • Unique visitors in last 24 hours : 0