Enfold – Hide Advanced Layout Builder Button on Default Posts
Sometimes you just simply want to control content added to standard WordPress Post articles within the Enfold theme. Forcing people to use the default WordPress tinymce editor for blog content. Although there is not a function that disables the Advanced Layout Builder we can hide the button to enable it. To do this simply add the function below to your child theme’s functions.php file.
/* Hide Adbanced Layout Builder Button on News / Blog posts */
add_action( 'admin_print_scripts', 'enfold_customization_admin_styles' );
function enfold_customization_admin_styles() {
echo "<style type='text/css'>";
echo ".post-type-post #avia-builder-button { display: none; }";
echo "</style>";
}

Leave a Reply
Want to join the discussion?Feel free to contribute!