• Is there some way to get any of the before and after parameters to work with wp_nav_menu?

    Example code that’s not working:

    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘$before’ => ‘<span>’, ‘$after’ => ‘</span>’ ) );

    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘$link_before’ => ‘<span>’, ‘$link_after’ => ‘</span>’ ) );

  • The topic ‘wp_nav_menu before and after parameters not working’ is closed to new replies.