[Resolved] AdSense not showing on homepage (section homepage + Footer etc)

Home Forums Support [Resolved] AdSense not showing on homepage (section homepage + Footer etc)

Home Forums Support AdSense not showing on homepage (section homepage + Footer etc)

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #476158
    Feri

    Hi,

    i have “page section” part on my homepage and try to insert adsense code with shortcode based on this tutorial: https://generatepress.com/forums/topic/how-to-add-adsense-ads-inside-posts-or-articles/

    the result is AdSense not showing on homepage but showing everywhere else. For example i try to insert adsense code to “Footer Widget 1”: adsense showing on single post but not on my homepage.

    it could just be adsense. but i try to clear cache, refresh page and i dont have ad block plug in on my browser.

    i hope you can solve my problem. thank you.

    #476448
    Tom
    Lead Developer
    Lead Developer

    It’s likely Adsense not knowing which ads to show yet. Where in the page did you add the code?

    #476704
    Feri

    Where in the page did you add the code?

    My homepage – Page Section and i have try 2 different methode, first based on this tutorial https://generatepress.com/forums/topic/how-to-add-adsense-ads-inside-posts-or-articles/ and the second is using plugin ad inserter.

    both of methode used “shortcode” and i copy paste to Page Section and nothing happen. adsense not showing, and only at home (page section).

    #476766
    Tom
    Lead Developer
    Lead Developer

    It looks like it’s in a widget area right now? Can you try the shortcode method again?

    #476784
    Feri

    yes, only at footer widget (with html adsense code, not shortcode).

    i dont know, maybe its all about adsense shortcode. Try 2 different methode, but no result.

    can i send you a temporary login to my dashboard admin?

    #477363
    Tom
    Lead Developer
    Lead Developer

    The footer widget adsense seem to be working: https://www.screencast.com/t/oAYQW6Zc

    The theme itself simply displays the content provided by WordPress, so I’m not sure how much I could help by logging in.

    If the adsense javascript is being added correct, and not being stripped (in an HTML widget, or in a shortcode), then it should work just like it does everywhere else.

    #477567
    Feri

    ok finally adsense is showing but in a wrong place.

    wherever i put the code [adsense] to SECTION page, adsense always showing under the slider/page header.

    #477571
    Feri

    aaah finally ๐Ÿ™‚

    i change the function php shortocode based on this article http://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/
    i dont know what the different with this tutorial https://generatepress.com/forums/topic/how-to-add-adsense-ads-inside-posts-or-articles/

    ok, adsense is showing at homepage.
    case closed.

    #477643
    Feri

    resolved

    #477660
    Tom
    Lead Developer
    Lead Developer

    Glad you got it working! ๐Ÿ™‚

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.