• idee

    (@idee)


    Hi, nice Theme.

    We are gonna build a child theme on top of it.
    When unsing a child theme, we needed to change functions.php line 73 and 74 to ‘get_template_directory’. Would recommend to use that initially.

    Also the nav walker fallback output just prints <ul class=”navbar-nav ms-auto”><li class=”nav-item”><a dsfv href=’https://example.com/wp-admin/nav-menus.php&#8217; class=”nav-link” title=”Add a menu”>Add a menu</a></li></ul>
    Does not display the unordered list, just the text above.

    I would recommend to change the line 324 class-digger-navwalker.php from “echo esc_attr( $fallback_output );” to “echo $fallback_output ;”
    and use href=”‘ . esc_url( admin_url( ‘nav-menus.php’ ) ) . ‘” instead in line 336

    Thanks for the nice starter theme

    Frank

    • This topic was modified 2 years ago by idee.
    • This topic was modified 2 years ago by idee.
    • This topic was modified 2 years ago by idee.
  • The topic ‘Fallback Output navwalker’ is closed to new replies.