Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Codice presente in /themes/hello-elementor/function.php */
- add_theme_support( 'menus' );
- ...
- function zbl_register_menu() {
- register_nav_menu( 'primary', 'Primary' );
- }
- add_action( 'after_setup_theme', 'zbl_register_menu' );
- /* Codice presente in /themes/hello-elementor/template-parts/header.php */
- <nav role="navigation">
- <?php wp_nav_menu( array(
- 'theme_location' => 'primary',
- 'items_wrap' => ''
- ) ); ?>
- </nav>
- /* Link agli screenshot dell'area di amministrazione */
- https://share.getcloudapp.com/KouWPoO0
- https://share.getcloudapp.com/OAur5AEo
- /* Codice HTML generato dal server */
- ...
- <nav role="navigation">
- <div class="menu-menu-1-container"></div>
- </nav>
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement