1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Small Wordpress Issue

Discussion in 'Blogging' started by tommyownz, Apr 14, 2010.

  1. tommyownz

    tommyownz Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    232
    Likes Received:
    15
    I've got this blog, and I installed a new theme, but its got this banner at the top and I'm not sure how to get rid of it
    Here's my blog: http://targuslaptopcase.com/
    Thanks for your help.
     
  2. shaundunne

    shaundunne Registered Member

    Joined:
    Apr 6, 2009
    Messages:
    57
    Likes Received:
    18
    Occupation:
    Codewrangler
    Location:
    London
    Home Page:
    The ad is being produced by javascript - you'll find this in one of the template files, probably either post.php or single.php

    HTML:
    <script type="text/javascript">
    /* <![CDATA[ */
    function affiliateLink(str){ str = unescape(str); var r = ''; for(var i = 0; i < str.length; i++) r += String.fromCharCode(2^str.charCodeAt(i)); document.write(r); }
    affiliateLink('%3Ec%22jpgd%3F%20jvvr8--uuu%2Cvgzv/nkli/cfq%2Camo-%3Dpgd%3F%3B2407%20%3C%3Ekoe%22qpa%3F%20jvvr8--uuu%2Cvgzv/nkli/cfq%2Camo-kocegq-vgzv%5Dnkli%5Dcfq%5DC%5D64%3Az42%2Cekd%20%22%60mpfgp%3F%202%20%22cnv%3F%20Vgzv%22Nkli%22Cfq%20%3C%3E-c%3C');
    /* ]]> */
    </script>
    
    remove it and the ad should dissapear
     
    • Thanks Thanks x 1
  3. vloza

    vloza Registered Member

    Joined:
    Apr 7, 2010
    Messages:
    74
    Likes Received:
    49
    If you are in a free hosting this ad is produced by the webserver and removing it is against the TOS. Also to remove the ad you'll need another javascript.
     
  4. tommyownz

    tommyownz Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    232
    Likes Received:
    15
    @Shaundunne, thanks a lot dude repped