Good morning to you. I hope the team is well.
Sorry for asking the question again.
I use WP All Import and Gravity Forms to create pages / articles and portfolio entries. Unfortunately I always have to open the created pages manually and activate the Advanced Layout Editor.
Is there a possibility to activate the Advanced Layout Editor by manually running DB queries (as asked here: https://kriesi.at/support/topic/bulk-enable-advanced-layout-builder-on-pages/). Even if it seems to be risky. But I am importing more than 150.000 pages and I cannot open them manually to activate the ALB.
Many thanks in advance for your efforts and stay healthy !
Hey Oversberg,
Thank you for the inquiry.
We provided a snippet in a previous thread that should allow you to change the status of the posts and activate ALB by default, but it is a bit partial and may require additional modifications.
// https://kriesi.at/support/topic/adding-pages-using-the-wordpress-rest-api/#post-1032812
IMPORTANT: Please do not forget to create a backup or a restore point before using the snippet just in case.
Best regards,
Ismael