I tried to remove featured image inside inside-articletag. On single page it work’s with : remove_action('generate_before_content', 'generate_blog_single_featured_image')
you don’t need to use that Snippet.
Instead do this:
1. In Appearance > GeneratePress enable the Disable Elements and Elements modules
2. In Appearance > Elements create a new Layout Element
Disable the Featured Image
And set the Display Rules Location: Posts > all posts and Pages > All pages.
Hi,
thanks for quick answer.
I prefer to do that with hooks and filer since the end user can’t change theese settings.
Are you sure it’s not possible ?
Sorry for the long response time, I was very busy with the rest of the project.
Indeed, I prefer to use hooks and functions. π
Thanks for this one.
Your support is really efficient!
See you soon,