Archived topic
AdSense not showing on homepage (section homepage + Footer etc)
9 replies · Started by Feri on January 21, 2018
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.
It's likely Adsense not knowing which ads to show yet. Where in the page did you add the code?
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).
It looks like it's in a widget area right now? Can you try the shortcode method again?
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?
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.
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.
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.
resolved
Glad you got it working! :)