Tagged: breadcrumbs, order, post
Hi,
In order to sort the portfolio items on a portfolio page, I installed the plugin: post types order.
(advised here: https://kriesi.at/support/topic/sorting-portfolio-grid/)
This works great, only the breadcrumbs don’t work correct anymore. It displays a category in which the portfolio item isn’t even placed.
I’ve disabled the plugin, but the problem stays. I’ve tried other sorting plugins as well, but this didn’t help either.
Every portfolio item is in 1 category max. Is there a way the theme always choses an actual category?
Thank you in advance!
Hey Trender!
Please try to add this at the very 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');
}
Best regards,
Ismael
Hi Ismael,
Thanks, that did the trick!