Best Premium and Free WordPress Themes › Forums › SuperMagPro › Insert Adsense ad below breadcrumbs and above content.
- This topic has 4 replies, 2 voices, and was last updated 5 years, 2 months ago by
Chuck Woodbury.
-
AuthorPosts
-
June 14, 2018 at 10:55 pm #31202
Chuck Woodbury
ParticipantHi Acme,
I’m trying to insert an adsense ad on EVERY page, not just the home page.
I’ve tried directly inserting the adsense code into a DIV located in single.php but I could not get the <DIV></DIV> to set itself to anything other than 0px in height.
I tried to set the div height to both 50px and to inherit, but I still get a 0px height ad.
Is there any easy way to get an ad to show up on both the “Home Page Main Content” area as well as all other pages? Our ads work great on out home page, but disappear after that, and we have hundreds and hundreds of pages so I need to be able to add a widget (best) or easily add some CSS code that can get me there….
Thanks,
Kim (for chuck)June 15, 2018 at 4:47 am #31208acmesupports
ModeratorDear Chuck,
If you can provide us your site URL, we will observe it and provide you with possible solutions.Best Regards!
June 28, 2018 at 12:04 am #31635Chuck Woodbury
ParticipantThanks!
June 28, 2018 at 4:56 am #31641acmesupports
ModeratorDear Chuck,
Your problem seems to be related to Wordfence plugin. We recommend you to contact the support service of Wordfence.Best Regards!
July 18, 2018 at 1:36 am #32359Chuck Woodbury
ParticipantYeah, I really don’t think that’s not the problem. If it is, can you be a little more specific about WHY Wordfence is causing the ads to only show on the home page and not any other pages?
It would seem to me that the issue is the fact that the home page content widget area doesn’t propagate to all of the sub pages and there isn’t a way to do that in the theme.
We’ll have to find another solution.
-
AuthorPosts
- You must be logged in to reply to this topic.