• Hi i’ve just upgraded my version of WordPress to the latest, upgraded the Stats and Akismet as well. All works fine, stats are gathered etc.

    I’ve noticed that there is a small image of a smilie face below the footer. When I switch off the stats plugin this image disappears.

    WordPress code which loads image:

    <script src="https://stats.wordpress.com/e-200826.js" type="text/javascript"></script>
    <script type="text/javascript">
    st_go({blog:'2840007',v:'ext',post:'0'});
    var load_cmc = function(){linktracker_init(2840007,0,2);};
    if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
    else load_cmc();
    </script>

    Php code in WordPress source (footer.php):

    <?php wp_footer(); ?>

    My question: ” Why is there an image underneath the footer “? And how can it be switched off. Because it’s not an enhancement to my theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter thepinguin

    (@thepinguin)

    i’ve solved the problem:

    footer.php

    <div id="stupid_smile_icon">
      	<?php wp_footer(); ?>
    </div>

    style.css

    #stupid_smile_icon
    {
    	display: none;
    }

    try this instead:
    img#wpstats{width:0px;height:0px;overflow:hidden}

    Your stats won’t work anymore if you use display:none;

    I read the code for the wp-stats application and it says what you need to do in that.

    Looking for a way to hide the gif? Put this in your stylesheet:
    img#wpstats{display:none}

    It all works top notch.

    Cheers

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    No, don’t use display:none. That will throw your stats off, since some browsers won’t load the image link if it’s set to display:none.

    Use the code that webmatter gave above. Then it will be hidden, but still load.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress.com Stats] Irritating image underneath footer’ is closed to new replies.