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

    Hello,
    On my site http://www.linaukis.com I’m having trouble with the breadcrumbs. It’s not reflecting the hierarchy of the predefined menu.
    How can I alter it, so that a portfolio item page has the following breadcrumb?
    “You’re here: Portfolio / Portfolio Item Name” instead of how it is currently set up: “You are here: Home / Portfolio 3 Column Ajax / Portfolio Item Name.”

    Thanks for your help!

    #208874

    Hi hellovlad_!

    1) The breadcrumb doesn’t take care of the menu items and the menu order does not affect the breadcrumb hierarchy. See: http://www.kriesi.at/support/topic/breadcrumb-navigation-2/

    2) I recommend to rename the “Portfolio 3 Column Ajax” page to “Portfolio” – then the structure should be “You are here: Home / Portfolio / Portfolio Item Name.”. If you want to remove the “Home” link insert following code at the bottom of functions.php

    
    add_filter('avia_breadcrumbs_args', 'avia_change_home_breadcrumb', 10, 1);
    function avia_change_home_breadcrumb($args){
    $args['show_home'] = false;
    return $args;
    }
    

    Then the breadcrumb should just show the pages (“You’re here: Portfolio / Portfolio Item Name”).

    Best regards,
    Peter

    #211563

    Thank you for your help!
    Where can I edit the functions.php? is it inside the WordPress or do I need to go inside the files somewhere?

    thanks again,

    #211665

    Hi!

    You can edit the file on Appearance > Editor. Look for the Themes Functions.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.