Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $defaults = array(
- 'theme_location' => 'jeppes-sf',
- 'menu' => '',
- 'container' => false,
- 'container_class' => 'menu-{menu slug}-container',
- 'container_id' => 'containerID',
- 'menu_class' => 'sf-menu',
- 'menu_id' => '',
- 'echo' => 'echo',
- 'fallback_cb' => 'wp_page_menu',
- 'before' => '',
- 'after' => '',
- 'link_before' => '',
- 'link_after' => '',
- 'items_wrap' => '',
- 'depth' => 1,
- 'walker' => ''
- );
- wp_nav_menu( $defaults );
- /* wp_nav_menu( array(
- 'theme_location' => 'main-menu', // Setting up the location for the main-menu, Main Navigation.
- 'menu_class' => 'sf-menu', //Adding the class for dropdowns
- 'container_id' => 'navwrap', //Add CSS ID to the containter that wraps the menu.
- 'fallback_cb' => 'wp_page_menu', //if wp_nav_menu is unavailable, WordPress displays wp_page_menu function, which displays the pages of your blog.
- 'container' => false,
- )
- ); */
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement