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

    Hi

    We recentlly migrated a website onto another server.
    The default Advance Layiout Builder for each web page is now showing as WP Block editor.

    Is there an easy way to disable WP block and enable Enfold Advance Layout Builder, so the WP pages are edited as they were before?

    Thanks

    #1436541

    Hey woogie07,
    The only way is to open each page and click the Advanced Layout Builder button to load the builder and then save.
    I’m not sure why you are experiencing this, probably something to do with the migration.

    Best regards,
    Mike

    #1436556

    first – goto Enfold Options – Theme Options – Select Your Editor : “Use WP Classic Editor”

    you can add to child-theme functions.php:

    function trigger_alb_on_load(){
    ?>
    <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
          setTimeout(function() {
            $("#avia-builder-button").trigger('click');
          }, 300);
    })(jQuery);
    });
    </script>
    <?php
    }
    add_action('admin_head-post-new.php', 'trigger_alb_on_load');

    and if you like to change the editor even on widgets:

    add_filter( 'use_widgets_block_editor', '__return_false' );
    
    #1436574

    Hi,


    @woogie07
    : How did you transfer the site? It’s possible that the custom fields responsible for checking whether the ALB is active for a specific page were not included in the migration.

    Best regards,
    Ismael

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