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

    (@mtekk)

    Breadcrumb NavXT caches the breadcrumb trail object so that it does not have to go through the work of re-generating the breadcrumb trail for pages that call bcn_display() multiple times. The cleanest way to get around this is to manually instantiate bcn_breadcrumb_trail, but that really isn’t recommended now days. I’ve opened a ticket on GitHub to track this: https://github.com/mtekk/Breadcrumb-NavXT/issues/151

    Thread Starter Johan Falk

    (@j-falk)

    Hi John

    Appreciate the follow up, for now we just use the following hack for us to achieve what we want:

    <?php echo force_relative_url (get_permalink ($post->ID)); ?>

    It seems to work for us in this project since we don’t need the breadcrumb to be linked and the permalink structure follows the breadcrumb we want to show.

    However I think the use case might not to be too uncommon for others as well and would love to be able to use breadcrumb-navxt for this instead with the flexibility it brings and to be able to be consistent if you are using it for breadcrumbs on the single pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show breadcrumbs for individual search results’ is closed to new replies.