[Support request] AMP … Adding a Simple Adsense Responsive Ad Below Header

Home Forums Support [Support request] AMP … Adding a Simple Adsense Responsive Ad Below Header

Home Forums Support AMP … Adding a Simple Adsense Responsive Ad Below Header

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1598459
    Patrick

    On the Non-Amp version, I use an elements hook to place the add below the header … super simple, works great. However, the AMP version does not display the ad … it seems to be stripping out the hook. Is there a way to accomplish this without using a third-party plugin?

    Using GeneratePress + Premium no child theme, official AMP plugin + AMP for GeneratePress.

    Thanks in advance 😉

    #1598693
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Is the ad code you’re adding compatible with AMP? For example, does it display if you add it to your content?

    As long as your AMP site is still using GP as the theme, the hook should work. Does the hook output regular text on the AMP site?

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