Archived topic
Edit post –> Disable Elements –> Featured image bulk action?
3 replies · Started by Goldstein on July 21, 2021
Hello Guys,
I have switched to Generatepress and also using elements https://docs.generatepress.com/article/disable-elements-overview/ . The feature I'm interested in is to disable featured image on a post. It works great on a single post. However, I have thousands of posts on which I need to perform the same action which is: Edit post –> Disable Elements –> Featured image
Is there a way to disable Featured image on all posts with a single action? For example some sort of SQL query. I have noticed that when I disable featured image for a single post with ID eg. 110 a new entry is created within wp_postmeta table. Example:
27895 | 110 | _generate-disable-post-image | true |
Is there a way to perform Edit post –> Disable Elements –> Featured image on all posts at once?
thank you
Hi there,
You can do this with Layout element.
https://docs.generatepress.com/article/layout-element-overview/#disable-element
Go to Layout Element's "Disable Element" tab to disable the featured image. You then set the display rule location to "Posts - All posts" so it applies to all posts.
Wow...worked perfectly...thank you
Nice one. No problem. Glad it works for you. :D