problem with ad share and adsense

Hi, I have inherited a site http://www.treasurepen.com that has your plugin installed, all the backend code is correct and ads work if I paste the code into jsfiddle. However when the page is created the code ends up inside a <p> with
after each line. This is the new responsive code from google. Can you please tell me why it dose not work. Regards Tony

  • tony
    • New Recruit

    This is the code which is standard responsive google from them and works fine tested elsewhere.

    <style>
    .treasurepenr1 { width: 320px; height: 50px; }
    @media(min-width: 500px) { .treasurepenr1 { width: 468px; height: 60px; } }
    @media(min-width: 800px) { .treasurepenr1 { width: 650px; height: 81px; } }
    </style>
    <script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- TreasurepenR1 -->
    <ins class="adsbygoogle treasurepenr1"
    style="display:inline-block"
    data-ad-client="ca-pub-4973592802386739"
    data-ad-slot="1281268809"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

  • tony
    • New Recruit

    Hi,
    I can but for the moment i have switched to standard ads and thats fine, but i have a real issue (at least to my customer). No body is allowed in wp-admin, everything is done from fronend using wp user frontend, how can i get the section where the user puts his details in on the frontend or will it only work from wp-admin.

    Tony

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.