Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // header.php
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
- // functions.php
- <?php
- register_nav_menu( 'primary', 'Menu principal de header' );
- <!-- Autor: Andros Fenollosa https://programadorwebvalencia.com/ -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement