• Recently began using Breadcrumbs NavXT for my site, and as configured, hierarchical links for each subsequent page are currently displayed correctly. The issue is when any upstream hierarchical link is clicked, a default “/project-category/” is always inserted within the link URL, thus preventing the intended page from loading. Since each “/project-category/” page is auto-generated by combining all pages found within the Portfolio Category folder, no control over how these page contents are displayed is possible. How can I remove “/project-category/” from the Breadcrumbs Links URL, and load the intended upstream page?

    EXAMPLE Current:
    https://www.only1egg.com/project-category/adventures/

    EXAMPLE Should Be:
    https://www.only1egg.com/adventures/

    Thanks for your time and consideration.

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

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

    (@mtekk)

    Breadcrumb NavXT uses the standard WordPress API call get_term_link() to determine the link to a category. If you want to link to a page instead of the category archive (e.g. you’re doing things the hard way), you’ll need to hook into get_term_link() and have it return the URL to your category page.

Viewing 1 replies (of 1 total)
  • The topic ‘Removing "project-category" from Breadcrumbs Trail’ is closed to new replies.