Breadcrumb NavXT
Not working with custom query rewrite (3 posts)

  1. MarceFX
    Posted 3 years ago #


    First, I understand that this is not an issue/bug of the plugin, it's just me customizing a lot :-/

    I have a custom query that goes like this:


    However, I set up a rewrite rule on my functions.php file that makes this query work liek this:


    Both URLs take me to the same point. However, This plugin only shows the first term on the navigation:


    I'd love to get this, instead:


    Any ideas how to make it work?

    Thank you


  2. John Havlik
    Plugin Author

    Posted 3 years ago #

    You'd need to make term1 be the parent to term2 and make sure they're both of "hierarchical" taxonomies, then I think Breadcrumb NavXT will be able to do its thing. I'd have to try it out. I don't remember off the top of my head how taxonomies/terms store the parent/child information, but I'm going to guess it isn't automatically done for you in the use case you have.

  3. MarceFX
    Posted 3 years ago #

    Thanks, but I know that making term2 child would be a solution, but that's not the question. Thing is, I can't make one related to the other since we're on a query.

    I know this is not what the plugin is supposed to do, but I'm trying to customize a solution :-/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Breadcrumb NavXT
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic