• Resolved lawlsh

    (@lawlsh)


    Hi

    I have the following hierarchy: Home page\Category\Sub-category\Sub-sub category\Page.

    When I go to the page, I only see the following breadcrumb:
    >Sub-sub category>Page

    What must I do to display the whole trail starting from Home Page?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    There are a couple of things you may need to change.

    The first, in the Breadcrumb NavXT settings, for the “Home Template” you may need to replace %title% and %htitle% with “Home” (it appears it is trying to add the breadcrumb but the title is blank).

    The second, for the category hierarchy, for your page, make sure only “Sub-sub category” is checked in the editor for that post. Since categories are hierarchical taxonomies, a post being a member of a child category will automatically make it an implicit member of the child category’s parent category (and the parent category’s parent, etc.). Hence, making a post be an explicit member of multiple categories within a hierarchy doesn’t really make sense as it is redundant. The behavior you are seeing is due to Breadcrumb NavXT using the first category it found with a parent category (since more than one category was returned by get_the_terms).

    Thread Starter lawlsh

    (@lawlsh)

    Thanks so much. It works perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying full trail’ is closed to new replies.