Need help? Check out our Support site, then


Can't install statcounter code with Retro-Fitted theme

  1. frominsidemyshoe
    Member

    I switched to the Retro-Fitted theme and added my statcounter code per instructions- adding the code to a text box and putting it in the sidebar. I can do this but there's a blank text box showing in my sidebar with no text, no nothing in it. I don't want the box to show. I just need to get the code installed on the page. It didn't show up with the original theme I was using. Is there a way to make the box invisible but still function?

    The blog I need help with is frominsidemyshoe.com.

  2. What exact code did you put in the box? Paste it here between code tags so we can analyze it.

  3. frominsidemyshoe
    Member

    This is the code I installed from StatCounter. It has a link for WordPress and above the code it said it was "StatCounter Code for WordPress.com". The issue is that when I follow the instructions and paste the code to a text box and drag the Widget to my sidebar, there are the other couple of Widgets- the Follow button and blog Archives which, in this particular theme, are displayed in a lighter colored box with shadowing. I like the boxes except for that the text box I use exclusively for my StatCounter code when I'm working from my dashboard shows up on my live page right there in the middle of everything else as another light colored box, only with no text and no function. I need that box not to show up at all if possible. Thanks for the help.

  4. frominsidemyshoe
    Member

    Oh wait- I forgot to copy the code. Sorry. Here it is.

    <div id="statcounter_image" style="display:inline;"><a
    title="wordpress stats plugin"
    href="http://statcounter.com/wordpress.com/"
    class="statcounter"><img
    src="http://c.statcounter.com/9310239/0/840a748f/1/"
    alt="wordpress stats plugin" style="border:none;"
    /></div>

  5. Okay, well you can't use plugin code on a wordpress.com blog. That is only for WordPress.ORG blogs. If they have actual code on teh statcounter.com site, which they do, you can put that in.

  6. frominsidemyshoe
    Member

    They do. But I can get the code to work I'm just wondering if I can keep my sidebar from having an empty text box there when I'm not really using it as a widget or a way to navigate or interact with my blog, I'm only using it to install the code. Can I put the correct code in a text box but not have it show up in the sidebar on my live page?

  7. frominsidemyshoe
    Member

    Actually, I got it. I don't know how I got it, but I did. And the blank text box isn't showing up so it's all good in the hood. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic