- This topic has 3 replies, 2 voices, and was last updated 2 years, 8 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I am here to seek help regarding the insertion of the Adsense code on Eleven40 Pro theme. I use AMP (Official Plugin) as well.
I need help to display a link advertisement below the topic title both on the normal version and the amp version.
Presently I use Sitekit plugin but what I have seen is it just bombards the page with at least 5 blocks of ads. I do not want my visitors to be bombarded in such manner.
So I really need help to place 1 link unit below the title on both Amp and non-amp version of the website.
If you need to add the Adsense code you can use the Genesis Header Scripts box to place your code or https://wordpress.org/plugins/insert-headers-and-footers/ plugin. You can use Genesis Simple Hooks to hook in your ad within the content.
Love coffee, chocolate and my Bella!
Hello Anita, thank you for your help.
I did try to use the header and footer option inside the theme. But the AMP plugin said there is some issue and it won't display the ad.
The official AMP plugin has conflicts with Simple hooks as well. Says it is not compatible. Is there anyways I can manually place the ad code inside the theme so it gets displayed on both the amp and non-amp version.
© 2022 WPEngine, Inc.