• Hello,
    I’m trying to create a kind of breadcrumb as the first li of the sub-menus inside the wp_nav_menu function, but I have no idea how to do that.
    I did a custom walker class with the function start_lvl on which I added the following Output:
    $output .= "<ul class=\"sub-menu\">\n\n<li class=\"backup\"><i class=\"fa fa-angle-left\"></i>".__('One Level up', 'themeone')."</li>";
    But I cannot Access the ID of the parent link…

    Any help would be appreciated!
    Dietmar

  • The topic ‘wp_nav_menu and custom walker’ is closed to new replies.