Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*header.php*/
- <?php
- wp_nav_menu(array(
- 'theme_location' => 'meu-menu',
- 'container' => false, // 'div' container will not be added
- 'menu_class' => 'nav nav-justified', // <ul class="nav">
- ));
- ?>
- /*functions.php*/
- if ( function_exists( 'register_nav_menus' ) ) {
- register_nav_menus( array(
- 'meu-menu' => 'Meu Menu',
- 'menu_rodape' => 'Menu Rodapé'
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement