Tagged: pages
I read the post from @funky2 from dec 2018 but I don’t want to “hack” the system which would be overwritten by the next update.
Also I find it confusing that the page title has this long postfix “Classic Editor, Advanced Layout Builder”. It pops up on any search in particular the page search at the menu design page – which is hard to use on its own.
It would be really cool to get rid of that repeating text that has no value at all.
Thanks
Hey Axel,
Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:
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;
}
Then clear your browser cache and check.
Best regards,
Mike
Thanks a lot Mike for helping me here I’m not sure I understand.
“Adding the code to the functions.php”. You main the /enfold/functions.php right?
Not sure what you mean with Appearance > Editor – not sure where to find that – so sorry
I added it at the end of the functions.php in the enfold directory and that does the trick :)
I trust that this is OK.
Thanks a lot !!!