Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1469305

    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.

    #1469355

    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

    #1469359

    Thanks for the code, I changed it to $alb_post_types[1], and it’s now disabled on blog posts.

    #1469373

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.