• I got my breadcrumbs to only show: “Home / Category / “

    However I’m trying to get rid of the “/” at the very end (after “Category”).

    Anyone know how I can get rid of it? Couldn’t find a setting like that, neither in Appearances or in the Breadcrumbs NavXT settings.

    (I’m running a WordPress Kadence theme)

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

    (@mtekk)

    Normally, Breadcrumb NavXT doesn’t have a trailing separator. Usually, that only happens if you have something goofy for the last item in the breadcrumb trail (so it ends up being empty, either due to something goofy for the post or the breadcrumb template being empty). If you are trying to remove the current item from the breadcrumb trail, I suggest using one of the solutions provided in the FAQ: https://mtekk.us/code/breadcrumb-navxt/faq/#bcn_ci

    If are not trying to remove the current item from the breadcrumb trail, it would be helpful to see the HTML that is being generated by Breadcrumb NavXT to help diagnose the issue.

    Thread Starter savwire

    (@savwire)

    Thank you John for your response.

    Here is a test post, the breadcrumb is right above the post title. It has the “/” after the “Handmade”

    https://www.themostorganic.com/handmade/five-lessons-from-the-staked-chair-project-6/

    Plugin Author John Havlik

    (@mtekk)

    For the linked page, unless you modified the breadcrumb templates, it appears the breadcrumb trail isn’t actually being generated by Breadcrumb NavXT (or the theme has some sort of integration for Breadcrumb NavXT and is modifying things a bit). My guess is the breadcrumb trail being generated is part of the theme, and they are purposely ending with the / since the title is directly underneath the breadcrumb trail. To use Breadcrumb NavXT you’ll need to make sure to call bcn_display() within the proper .php file in the theme (unless this is a block theme, in which you will need to go into the block template and add the Breadcrumb Trail block provided by Breadcrumb NavXT).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breadcrumbs NavXT: How to get rid of the “/” at the end of breadcrumb?’ is closed to new replies.