Hello,
I would appreciate the option to customize the archive name in the Breadcrumbs element when the “Show post type archive” option is enabled. Currently, it displays ‘Posts’ for the default type, and I would like it to display “Blog.”
I’ve found a workaround with code, but I would prefer that native in this element, because that would be also compatible with my multilingual setup via dynamic data.
The workaround:
// Rename Posts archvie to Blog
function change_post_object_label() {
global $wp_post_types;
$labels = &$wp_post_types['post']->labels;
$labels->name = 'Blog';
}
add_action( 'init', 'change_post_object_label' );
