Archived topic
Featured images displaying on posts despite being switched off
5 replies · Started by Macca on March 11, 2021
Hi there,
I have switched off 'display featured images' under the post section in Customizing > Layout > Blog, but they are still appearing on all posts.
Is there a way of turning this off please?
Example post - https://www.greatbritishbucketlist.com/days-out-in-worcestershire/
Cheers,
Macca
Hi Macca,
Could you disable your cache plugin, so we can have a better look in the code?
Thanks!
https://www.screencast.com/t/MPi8KLz9PK1
Hi Ying,
Thanks for getting back to me.
I have done all of that but it is still displaying.
Cheers,
Macca
Hi Macca,
Then go to appearance > elements, see if there’s a header element which assigned to posts.
Disable it see if it works.
Let me know :)
Hi Ying,
I think it was from an Elements header specifically for blog posts.
Can I ask when the Elements do within GP please?
Cheers,
Macca
Here're some articles about the elements of GP:
Header element: https://docs.generatepress.com/article/header-element-overview/
Block element: https://docs.generatepress.com/article/block-element-overview/
Hook element: https://docs.generatepress.com/article/hooks-element-overview/
Layout element: https://docs.generatepress.com/article/layout-element-overview/
Disable element: https://docs.generatepress.com/article/disable-elements-overview/
For example, hook element allows you to hook content into different location of the site, block element is the Gutenberg version of hook element.
Header element more focus on building header, layout element is for layout control, disable element allows you to disable titles/ top bar/ headers /site footer etc. for individual page/post.
They are powerful tools if you learn how and when to use them :)