Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #862473

    lebweb
    Participant

    I updated the theme, cornerstone was fully updated. Still no go. I went into the page in question and deleted the raw content, and reinserted it just to see if that would help, but it didn’t. Tested in Firefox and Chrome, neither is displaying the ad

    #862948

    lebweb
    Participant

    I have spent hours now combing through your forum, I’ve tried adding:

    function google_adsense_ads_head()  { ?>
    
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <?php }
    
    add_action( 'wp_head', 'google_adsense_ads_head' );
    
    function google_adsense_ads_head_footer()  { ?>
    
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    <?php }
    
    add_action( 'wp_footer', 'google_adsense_ads_head_footer' );

    into my child theme’s function.php and only inserting the <ins>…</ins> into a raw content box, and I’ve tried a number of other methods, and none have been useful. I posted my login info in a private post earlier in this thread, I’d really love some help getting adsense ads to display on my post pages.

    Thanks.

    #863176

    Rad
    Moderator

    Hi there,

    Would you mind providing your admin login credentials as well? And the complete embed code of your AdSense. I like to try it myself 😉

    And you may start a new thread, this may get confusing as the threads get longer.

    Thanks!

    #863863

    lebweb
    Participant

    It seems as though there was just a lag in Google Adsense fully activating my account. The ad is showing up on my page now. Hopefully, I won’t have any more problems.
    Thanks.

    #864344

    Christian
    Moderator

    Glad it’s sorted out. 🙂