WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb NavXT
Post Type "Root Page" ignored in taxonomy breadcrumbs (8 posts)

  1. Curtiss Grymala
    Member
    Posted 2 years ago #

    I have a custom post type with two custom taxonomies associated.

    I set up the "Root Page" for the custom post type, and that seems to work fine in the breadcrumb when I'm viewing either the post type archive or an individual entry of that type.

    However, if I view one of the taxonomy pages, there is an empty space where the "Root Page" should be listed.

    For example, if I visit the "Portfolio" post type archive, with "Design" set as the "Root Page", I get a breadcrumb that looks like:
    Home > Design > Portfolio (which is correct)

    If I visit "Test Project 1", which is a portfolio entry, I get a breadcrumb that looks like:
    Home > Design > Portfolio > web (the taxonomy value I chose to show in the breadcrumb) > Test Project 1 (which is correct)

    However, if I visit the taxonomy page for "web", I get a breadcrumb that looks like:
    Home > > Portfolio > web

    Notice in that last one that there are two angle brackets next to each other with a space in between. It's almost as though the breadcrumb plugin knows it's supposed to put something there, but can't figure out what to put there, so it leaves it blank.

    It should be either:
    Home > Design > Portfolio > web (desired)
    or:
    Home > Portfolio > web (less desirable)

    Any suggestions on settings I might need to tweak to get this working? Thanks.

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

  2. John Havlik
    Member
    Plugin Author

    Posted 2 years ago #

    I just did a test on my local testbed with 4.0.1, and it appears to work correctly with the "Root Page > CPT Archive > Custom Taxonomy" form on a custom taxonomy archive page. Something with your setup must be causing the mess within bcn_breadcrumb_trail::do_root() to get confused. I'm going to have to see if I can break it on my testbed sometime later this week.

  3. mitico13
    Member
    Posted 2 years ago #

    Hello,
    I have the same problem but with parent/child category.
    I use this schema:

    CATEGORY A > CHILD CATEGORY A > CHILD - CHILD CATEGORY A

    All of my category are hierarchical organized. But sometimes it lose the last breadcrumb.

    For example in some post (I see the same situation in administration panel) i see this order:

    (FIRST CASE)
    child child subcategory A > child subcategory A > category A

    and other post:

    (SECOND CASE)
    category A > child subcategory A > child child subcategory A

    I have seen this: the breadcrumbs in the FIRST CASE are correctly show, insteand in the SECOND CASE, the breadcrumbs aren't correctly showed, it lose the "subcategory A child child".

    Those are some snap:

    http://imageshack.us/photo/my-images/718/20120118090017.png/
    http://imageshack.us/photo/my-images/401/20120118090120.png/
    http://imageshack.us/photo/my-images/208/20120118090121.png/

  4. John Havlik
    Member
    Plugin Author

    Posted 2 years ago #

    @mitico13,

    Make sure the post is only a member of one category heiarchy, and not an explicit member of multiple categories in a category heiarchy. E.g. for your example make sure Verona is only a member of Veneto. Otherwise Breacrumb NavXT will pick the first category hiearchy it finds, which may not be exactly what you are expecting.

  5. mitico13
    Member
    Posted 2 years ago #

    My structure is for example:
    Verona is child of Veneto that is child Italia that is child of Europa
    all post are this structure ^ so:
    Europa > Italia > Veneto > Verona
    But I see
    Europa > Italia > Veneto

    I noticed that this problem is only where you see reversed order (like snapshot).

  6. John Havlik
    Member
    Plugin Author

    Posted 2 years ago #

    @mitic013:

    Just for clarification to make sure we're on the same page (I have a feeling something is getting lost in translation):

    Venteo is a child category of Italia
    Italia is a child category of Europa
    Europa is a category.

    Are those three statements correct?

    Now, I'm a little confused as to what Verona is. Is Verona a post or a category?

  7. mitico13
    Member
    Posted 2 years ago #

    Yes is all correct, and "Verona" is a post

  8. John Havlik
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, and "Verona" has only "Venteo" set as it's category, correct?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic