Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #380998

    Hi,
    if I open a portfolio item from the main menu, the breadcrumb often (but not always!) looks wrong.

    STEP 1: Glass -> Energy -> Emission monitoring -> http://www.bdfindustries.it/products/emission-monitoring/ (wrong breadcrumb)

    If i open the item passing from a Portfolio grid, it looks Ok..
    STEP 2: Glass -> Energy (than click on thumb Emission Monitoring) -> http://www.bdfindustries.it/products/emission-monitoring/ (breadcrumb OK)

    STEP 3: If you repeat the step 1, now the breadcrumb is ok….

    You can try this passing all the products in the menu..
    Do you know why and how I can fix it?

    Thank you!

    #381358

    Hey studiobrand_it!

    please clear browser cache and deactivate all plugins to see if one is causing the issue.

    Best regards,
    Andy

    #381543
    This reply has been marked as private.
    #383432

    Hi!

    Where is the portfolio grid that your viewing it from? In your menu I click on Glass > Automation and this takes me to a page with a portfolio grid but I do not see the “Emission Monitoring” post.

    If you view a portfolio post by clicking on it from a portfolio grid on a certain page then that page should display in the breadcrumbs.

    Regards,
    Elliott

    #383458

    On the menu we’ve these products items:
    (Level 1) GLASS -> (Level 2) Melting, Forming, Automation, Energy -> (Level 3) the portfolio items of each category on Level 2
    (Level 1) AUTOMATION -> (Level 2) Products, Solutions -> (Level 3) the portfolio items of each category on Level 2
    (Level 1) ENERGY -> (Level 2) Inverter, Renewable Energy -> (Level 3) the portfolio items of each category on Level 2

    – if you click directly on Level 3 items, the breadcrumbs is often wrong
    – if you click on Level 2 items and then on portfolio items on the grid, the breadcrumbs is always correct
    try randomly items of each category

    #384296

    Hey!

    The breadcrumb is based on page hierarchy not on menu hierarchy. There is no relation between the breadcrumbs and how you order the menu items. There is also a script which renders the page where you are, previously. If you want to disable it and show the actual category of the portfolio items, add this on 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

    #384553

    Now it seems ok!
    thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Wrong breadcrumbs from the menu’ is closed to new replies.