• Hello,

    I have two categories, Men Fashion and Women Fashion.

    Underneath each category I have posts which are specific to Men Fashion and specific to Women Fashion. I also have posts that cover both topic and overlap. Currently these overlapping posts are displayed in both Men Fashion and Women Fashion categories.

    However when such a post is clicked in the Women Fashion categories. In the breadcrumb, rather than displaying Home>Women Fashion>Post, it displays Home>Men Fashion>Post.

    Can someone help me in resolving this conflict in my breadcrumbs?

    Thank You

    https://www.ads-software.com/extend/plugins/breadcrumb-navxt/

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

    (@mtekk)

    See my response from the comments section in documentation page:

    Breadcrumb NavXT itself doesn’t support this at the moment. However, there is a way to make this work. The idea is that you can change the order in which the category term is returned to the plugin and that will cause Breadcrumb NavXT to pick a specific category term. Use https://github.com/mtekk/Order-Bender/blob/master/order-bender.php as the example, you don’t need the extra post related things but the reorder_terms function and the hook into get_the_terms are the portions you would be interested in.

    I’ll see if I can get a proof of concept together sometime in the next two weeks.

    Thread Starter jcyin

    (@jcyin-1)

    Thanks for the reply, could you tell me where is the comments section in the link you sent me?

    What I’m trying to resolve is for wordpress to dynamically detect and accept my current category rather than automatically diverting to the default/highest ID category.

    Since I created category Men Fashion first, wordpress seems to direct each viewer to the Men Fashion category even if they found the post via Women Fashion cateogry.

    Is this something to do with categories, permalinks or breadcrumbs? It’s quite confusing and I’m not sure if I’m making sense here. Sorry for any confusion.

    Thanks!

    Plugin Author John Havlik

    (@mtekk)

    I was referring to the Breadcrumb NavXT Documentation page on my site. However, I blockquoted my response above so my response is already here. It outlines, in a high level fashion, a way to make this work. However, due to other commitments, I don’t have time to generate a proof of concept at the moment (won’t for the next month).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflicting/Mismatched post breadcrumbs’ is closed to new replies.