Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1008503
    martinezg
    Participant

    How can I add Google Adsense’s code so that it appears on both sides of the website?

    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Home page -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-"
         data-ad-slot=""
         data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    #1008556
    Rupok
    Member

    Hi there,

    You can try the RAW Content element t place your code.

    Thanks

    #1010331
    martinezg
    Participant
    This reply has been marked as private.
    #1010425
    Rupok
    Member

    Hi there,

    Thanks for updating. Google Adsense code usually works within RAW Content and Text Element. However you can use a plugin for Adsense Ads, try one of the following plugins.

    http://wordpress.org/plugins/adsense-plugin/

    Google AdSense for Responsive Design – GARD

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1008503 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>