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

    Hi,
    how can I please hide the text “Advanced Layout Builder” in the menu design in the backend – that’s totally confusing there?

    Thanks.

    View post on imgur.com

    #1288268

    Hey BeeCee,

    Please try this in your functions.php file:

    function remove_alb_text_menus() { 
    ?>
    <style>#pagechecklist-most-recent span.post-state { display: none; }</style>
    <?php
    } 
    add_action( 'init', 'remove_alb_text_menus');

    Best regards,
    Rikard

    #1290130

    thank you, but this does not remove the ALB term from Pages and Posts, so I got from someone else in the FB group this snippet and it works fine:

    add_filter('display_post_states','remove_ALB_post_state',999,2);
    function remove_ALB_post_state( $post_states, $post ) {
    if("!= Avia_Builder()->get_alb_builder_status($post->ID)") {
    unset($post_states['avia_alb']);
    }
    return $post_states;
    }

    With this snippet the term “Advanced Layout Builder” is removed in the dashboard at “pages”, “posts” and the menus.

    #1290131

    Hi,

    Thanks for sharing the solution! :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to hide in backend – menus the "Advanced Layout Builder" text?’ is closed to new replies.