Support » Plugin: Breadcrumb NavXT » [Plugin: Breadcrumb NavXT] All pages show strange custom post type in breadcrumb trail

  • Resolved JBIRD1111

    (@jbird1111)


    Hi, I have a wordpress network that heavily relies on breadcrumbs. It works perfect for all of the custom post types; however on any one page (home, about, etc) the breadcrumbs display incorrectly. They all show: “Home > Options Panel” where options panel is one of the theme’s custom post types. I have no idea why Options Panel is showing up, when it is completely unrelated from the pages.

    In addition, the blog single pages show “Home > Blog > Options Panel” but the blog main page shows “home > Blog” which is correct. I have no idea why the blog single pages and normal pages are including the “options panel” instead of the current page.

    On the wordpress backend, if I change the breadcrumb settings for the “Posts & Pages” it does not affect the page’s breadcrumb. What does affect is is if I change the settings for the “Options Panel breadcrumb area. It is very odd because that custom post type isn’t related to any of the pages…

    http://wordpress.org/extend/plugins/breadcrumb-navxt/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Turns out I identified what is causing the problem, but I still cannot figure out why. In my header.php file, I loop through the custom post type, “options panel” which is the exact same post type that is showing up problematically. When I remove the loop from the header, everything works fine. The problem, is that I need to use that loop in my header. The loop look like this: (any ideas?)

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Fxxed it! Using <?php wp_reset_query(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Breadcrumb NavXT] All pages show strange custom post type in breadcrumb trail’ is closed to new replies.