Support » Themes and Templates » items_wrap not having an effect

  • nealaholl

    (@nealaholl)


    Hello all,
    I’m working on building up a theme, and have started from the underscores package. I’m trying to change the nav bar so that it is only list items wrapped in a nav element. The ‘wp_nav_menu’ call is being made as shown.

    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu', 'container' => 'nav', 'items_wrap' => '%3$s' ) ); ?>

    The container is correctly being changed to ‘nav’, but no matter what I do I have not been able to get any change using items_wrap. I’ve confirmed that this is not a caching issue. Any ideas on what I’m missing?

    Thanks for any help,
    Neal

  • The topic ‘items_wrap not having an effect’ is closed to new replies.