Back to Community

How to Control the Blog Breadcrumb Link in Breadcrumb NavXT

13 threads Sep 16, 2025 PluginBreadcrumb navxt

Content

Many WordPress users rely on the Breadcrumb NavXT plugin to create a clear navigation path for their visitors. A common point of confusion arises when the plugin's "Blog" breadcrumb link doesn't point to the correct page. This article explains why this happens and provides the most effective solutions to gain full control over this link.

Why Does the Blog Breadcrumb Link to the Wrong Page?

Breadcrumb NavXT is designed to integrate seamlessly with WordPress's core settings. The plugin automatically uses the "Posts page" configured in Settings > Reading to generate the URL for the "Blog" breadcrumb. If this setting points to an old or incorrect page (e.g., /blog-old), the breadcrumb will reflect that. This is not a bug but the plugin's intended behavior, using the official WordPress setting as its source of truth.

Solution 1: Update the WordPress Reading Setting (Recommended)

The simplest and most supported method is to correct the source of the problem directly in WordPress.

  1. Navigate to Settings > Reading in your WordPress dashboard.
  2. Find the setting labeled "Your homepage displays" and ensure "A static page" is selected.
  3. In the "Posts page" dropdown, select the correct page you wish to use as your blog home (e.g., the page with the slug /blog).
  4. Save your changes.

This change will immediately update the Blog breadcrumb link across your entire site. If this alters your site's design, the issue likely lies with your theme's template for the posts page (home.php), which should be addressed for a permanent fix.

Solution 2: Use a Custom Filter for Advanced Control

If changing the Reading setting is not feasible, you can use a code snippet to manually override the breadcrumb URL. This requires adding a custom function to your theme's functions.php file.

function custom_blog_breadcrumb_url($url, $type) {
    // Check if this is the blog breadcrumb
    if (in_array('blog', $type)) {
        // Manually set the URL to your desired blog page
        $url = home_url('/blog/');
    }
    return $url;
}
add_filter('bcn_breadcrumb_url', 'custom_blog_breadcrumb_url', 10, 2);

This filter hooks into Breadcrumb NavXT and changes the URL specifically for the breadcrumb item with the type 'blog'. Replace /blog/ with the actual slug of your desired blog page.

Understanding the "Place the blog breadcrumb in the trail" Setting

It's important to note the scope of this setting. As confirmed in the support threads, the "Blog Breadcrumb" option controls the display of the root page for the 'Post' post type. This means it affects not just single blog posts, but also associated archives like Categories and Tags. When enabled, the blog breadcrumb will appear in the trail for all of these page types.

Conclusion

Controlling the Blog breadcrumb link in Breadcrumb NavXT is straightforward once you understand its connection to the WordPress Reading settings. For most users, updating the "Posts page" is the cleanest solution. For those with unique theme constraints, a custom filter provides the necessary flexibility to manually define the correct URL.

Related Support Threads Support