Archived topic
Unwanted Featured Image showing on Custom Post Types (GPP beta 1.4-rc.1)
20 replies · Started by Zach on July 28, 2017
For the CPT taxonomy archives - have you set the page header inside their category area?
For example, in posts: Posts > Categories > Example Name > Page Header
Cool. I didn't even think to look for a Page Header option there. Works fine, sorry for the mixup. Many thanks.
(For future searchers, look in the Dashboard under "Your CPT name > Your Taxonomy" then edit each of your taxonomy terms and you'll see that GP inserted a new "Page Header" select after the name, slug, description, etc. on each term.)
No problem! Full docs will be available once 1.4 is officially released :)
I cannot get this working. Some weeks/months ago this worked for me. But after last updates not:
remove_action( 'generate_after_header','generate_page_header' );
I want to hide featured image just for a CPT. I want to still show featured images in blog single posts or other CPTs, but there is no way to hide it using code. I know I could use CSS but I don't want the code being loaded.
Which is the correct way?
Thanks
Is this is the code you are using? https://generatepress.com/forums/topic/remove-featured-image-on-custom-post-type/#post-337093
If this doesn't help, can you open a new topic for your question? Thanks!
Not working, so I will open topic. Thanks