Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #330496

    Hi guys –

    Just wondering – How can we switch so that the Advanced editor is the default view and the default wordpress editor becomes the secondary choice?

    #331418

    Hi David!

    You could try triggering the ALB button on admin pages, try adding this to functions.php:

    
    function trigger_alb_button(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$("#avia-builder-button").trigger('click')
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('admin_footer', 'trigger_alb_button');

    Regards,
    Josue

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