- This topic has 9 replies, 2 voices, and was last updated 3 years, 3 months ago by Tom.
January 21, 2018 at 2:19 am #476158Feri
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.GP Premium 1.5.6January 21, 2018 at 9:27 am #476448TomLead DeveloperLead DeveloperJanuary 21, 2018 at 5:39 pm #476704Feri
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).January 21, 2018 at 9:55 pm #476766TomLead DeveloperLead DeveloperJanuary 21, 2018 at 10:45 pm #476784Feri
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?January 22, 2018 at 11:35 am #477363TomLead DeveloperLead 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.
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.January 22, 2018 at 4:42 pm #477571Feri
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.January 22, 2018 at 7:42 pm #477643Feri
resolvedJanuary 22, 2018 at 8:23 pm #477660
- You must be logged in to reply to this topic.