WordPress.org

Ready to get started?Download WordPress

Forums

wp_nav_menu broken latest build (1 post)

  1. jroakes
    Member
    Posted 4 years ago #

    Functions.php Code:

    register_nav_menus( array(
    		'top' => __( 'Top Nav', 'tractor-trailer' ),
    		'bottom' => __( 'Bottom Nav', 'tractor-trailer' ),
    	) );

    Header Code:

    <!-- navigation -->
            <?php wp_nav_menu( array('menu_class' => 'nav', 'menu_id' => 'nav1' , 'theme_location' => 'top', 'container' => 'none' ) ); ?>

    Custom Menu applied to Top Nav and Bottom Nav in Appearance>Menus.

    Nothing Displays after update.

    [Edited to fix the code tags - You need to put them as the FIRST character for the line. - Mod.]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags