Why is it in some instances visible and in others not? Gutenberg editor can run…
Rename Sidebar „Add New“ Label
In the Total theme i.e. for the portfolio or staff custom post types, the menu labels are not properly translated. This is how to fix this:
add_filter('register_post_type_args', function($args, $post_type) {
if ($post_type === 'portfolio') {
$args['labels']['add_new'] = 'Neu';
$args['labels']['add_new_item'] = 'Film hinzufügen';
}
return $args;
}, 10, 2);
