[Resolved] DISABLE ADSENSE on HOMEPAGE

Home Forums Support [Resolved] DISABLE ADSENSE on HOMEPAGE

Home Forums Support DISABLE ADSENSE on HOMEPAGE

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #819833
    Whelen Troy

    Hello Tom, how do you disable adsense on homepage?

    I tried searching for answers, but unlucky.

    Hope to hear from you soon. Thanks.

    #819855
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That depends on how you’re adding adsense. Is it just in your content, or are you adding it using Hooks?

    #820561
    Whelen Troy

    Hello Tom, i used gp hooks. It’s perfect. But that’s the only thing I need to fix. To not show it on my homepage.

    #820721
    David
    Staff
    Customer Support

    Hi there,

    if you use the Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    You can set the display rules, which will allow you to Exclude: Front Page.

    #821030
    Whelen Troy

    Hello David,

    WOW! This is a new feature.

    Anyways, I noticed that when I enable “Elements”, “GP Hooks” in the option is also gone.

    QUESTION: If that’s the case, will all codes I made on the GP Hooks be gone? Do I need to transfer all of it using “Elements”?

    Thanks you very much for your help.

    #821053
    David
    Staff
    Customer Support

    In the Appearance > Elements you will see Legacy Hooks and Legacy Page Headers tabs at the top ( if any were added ). We recommend that you transfer them to Elements ( why wouldn’t you 🙂 )

    More info on the rest of Elements:

    https://docs.generatepress.com/article/elements-overview/

    #821074
    Whelen Troy

    Thank you very much David. And Tom.

    Cheers!

    #821086
    David
    Staff
    Customer Support

    Glad we could be of help.

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