Archived topic
GP Hooks: Display none on homepage
3 replies · Started by Former User on April 19, 2018
Viewing posts 1–4 of 4
Hello everybody
I've added an ad banner via GP hooks. Now the ad is showing on all pages. How can I exclude the banner on the homepage?
Maybe someone can help me with a useful code in CSS or otherwise!
Thank you very much
Uwe
Hi there,
This should help: https://docs.generatepress.com/article/using-hooks-conditional-tags/#blog-posts-page
Hi Leo,
Thank you so much ... now it works!
No problem :)
This archived topic is closed to new replies.