• Resolved Chris Hardie

    (@chrishardie)


    wp_nav_menu() is called twice in header.php, once to generate the menu for the mobile nav, and once to generate it for the sidebar nav. Since this creates a duplicate query to the database, it would be great if you could consolidate these into a single call whose result is re-used.

    Thank you for considering it!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Duplicate calls to wp_nav_menu in header.php’ is closed to new replies.