Created
January 5, 2014 08:29
-
-
Save arbaaz/8265835 to your computer and use it in GitHub Desktop.
wordpress_menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $defaults = array( | |
| 'theme_location' => '', | |
| 'menu' => '', | |
| 'container' => 'div', | |
| 'container_class' => 'collapse navbar-collapse navHeaderCollapse', | |
| 'container_id' => '', | |
| 'menu_class' => 'nav navbar-nav navbar-right', | |
| 'menu_id' => '', | |
| 'echo' => true, | |
| 'fallback_cb' => 'wp_page_menu', | |
| 'before' => '', | |
| 'after' => '', | |
| 'link_before' => '', | |
| 'link_after' => '', | |
| 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>', | |
| 'depth' => 0, | |
| 'walker' => '' | |
| ); | |
| wp_nav_menu( $defaults ); | |
| ?> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment