Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #185721

    Hi,

    I created the website http://marquart.p.nvsotap.nl/ (in Dutch) and as shown on the homepage you see four portfolio items. When you click on one of these items you will go the portfolio-item detail page. On this page the breadcrumbs show a category (named ‘in ontwikkeling’) which is not selected on the portfolio page.

    When you visit the same page (for example http://marquart.p.nvsotap.nl/portfolio-item/klerx-schoenen/) using a direct link or using the main navigation (werk > woningbouw > klerx schoenen) you wil see the correct breadcrumbs including the category i selected.

    Do you have a solution for this problem?
    Thanks.

    Dennis.

    #185969

    Hey netvliestech!

    Please add this on your functions.php:

    add_action('after_setup_theme','avia_remove_portfolio_breadcrumb');
    
    function avia_remove_portfolio_breadcrumb(){
    remove_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb');
    }

    Cheers!
    Ismael

    #186059

    Hi Ismael,

    Thanks for your code. It solves the problem!


    Best regards,
    Dennis

    #186099

    Hi!

    Glad it worked. :)

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Portfolio items shows wrong category in breadcrumbs’ is closed to new replies.