SOLVED: Breadcrumbs custom Post archive name

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' );
1 Like

We fixed this issue in Bricks 2.3, now available as a one-click update in your WordPress Dashboard.

Please read the changelog entry before updating, and let us know if you continue to experience issues.