Archived topic
Bulk modify Post Layout
3 replies · Started by Modern Now on September 8, 2018
Is there a method of bulk editing a CPTs Layout Options. Use Case: let's say we have a CPT titled Client News and for hundreds of posts the layouts were set as everything disabled and now we want to change all or some of them to different configurations, especially under the Disable Elements tab? Are there any functions created for setting these values based on the post ID or some other more user-friendly way of doing this other than opening each one separately and reconfiguring them?
Thank you
Geoffrey
Hey Geoffrey,
Have you checked out our Elements module? It has a Layout type which may be useful: https://docs.generatepress.com/article/layout-element-overview/
Let me know :)
Hi Tom
That looks like what we needed. I will work on it tomorrow.
Thank you
Geoffrey
No problem :)