Tagged: breadcrumbs, Portfolio
Hello
As I anticipated on Themforest we have an issue on ilmountainrider.com
The issue is with breadcrumbs acting strange.
If I access a portfolio item page from http://www.ilmountainrider.com/itinerari/ the portfolio item page breadcrumb will look like this:
Home / Itinerari / Baita Angelini, Dolomiti Zoldane
But if I access the same page from the Home the portfolio item page breadrcumb will look like this:
Home / Chi Sono / Baita Angelini, Dolomiti Zoldane
This is completely weird. I dont want those breadrcrumb to display whatever pages I accesed it from. But I want to display only in this way:
Home / Itinerari / Potrfolio Item Page Name
IT MUST HAVE THE WORD “ITINERARI” in the middle and nothing else.
Kindly advice asap on how to get this fixed for good.
Thank you in advance for your quickest reply
Best
Is this support forum working?
Hi!
Please excuse the late reply. If you just want to display the portfolio category in the breadcrumb insert following code at the bottom of functions.php
add_action('after_setup_theme','avia_remove_portfolio_breadcrumb');
function avia_remove_portfolio_breadcrumb(){
remove_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb');
}
This post: https://kriesi.at/support/topic/problem-with-breadcrumbs-in-firefox/#post-185097 explains why the breadcrumb may vary.
Best regards,
Peter
Hello, it worked. Thank you!