Custom taxonomy breacrumbs not clickable

#209174
Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for contacting us. Sorry for any inconvenience that might have been caused due to that.

    As you can check on all three pages that you have shared, the Brands is not clickable on any one of those. And the crumb of the current page is also not clickable. As you have only the Brands and current page on your archive pages, both are not clickable.

    You can modify and use this filter in your theme’s/child theme’s functions.php file to add a URL to the Brands and make it clickable:

    /**
     * Allow changing or removing the Breadcrumb items
     *
     * @param array       $crumbs The crumbs array.
     * @param Breadcrumbs $this   Current breadcrumb object.
     */
    add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
    	return $crumbs;
    }, 10, 2);

    Hope this helps. Let us know if you need any further assistance.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Custom taxonomy breacrumbs not clickable’ is closed to new replies.