We are using the Classic Editor for our blog posts, but occasionally a post will randomly switch to the Advanced Layout Builder, which results in design issues.
We’ve confirmed from the logs that no manual updates were made to the posts, and we haven’t been able to replicate the issue ourselves.
We found this thread (https://kriesi.at/support/topic/posts-automatically-change-from-default-editor-to-advanced-layout-builder/), but it didn’t provide any insights into our situation.
Hey wema7300,
Thank you for the inquiry.
The editor should not automatically switch to the Advanced Layout Builder (ALB) unless toggled. Have you tried disabling the ALB for posts? You can add this code to the functions.php file:
function avf_alb_supported_post_types_mod($alb_post_types)
{
unset($alb_post_types[0]);
return $alb_post_types;
}
add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
Best regards,
Ismael
Thanks for the code, I changed it to $alb_post_types[1], and it’s now disabled on blog posts.