In Default Theme, I believe <body> is located in header.php and the closing </body> is in footer.php
So, sidebar should be okay, it does not really matter because it won’t be visible from browser, I believe.
—-signature—
Support my campaign
http://wordpress.org/support/topic/22918
I placed my statcounter code into my sidebar. But the full sidebar only displays on the main pg. Only archives & recent posts display on the individual post pgs. So because the statcounter code is not displaying anywhere other than main pg. it is only picking up hits on my main pg.
Can someone tell me where I should place the code so it counts hits on every pg. I’d prefer inserting the code into only 1 place that would register every hit rather than on every pg.
Well, you could put it in header.php, after the <body> tag.
Or in footer.php, before the </body> tag.
Thanks, it’s in the footer & displaying at the bottom of every pg. Hopefully, it will now pick up every hit. I’d noticed since I moved to wp a month ago my hits had gone down by 40%. Don’t know whether this is why or whether the googlebot hasn’t fully indexed my site.