Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="menu-class">
- <?php
- $menuParameters = array(
- 'theme_location' => 'button_menu',
- 'container' => false,
- 'echo' => false,
- 'link_before' => '<span>',
- 'link_after' => '</span>',
- 'items_wrap' => '%3$s',
- 'depth' => 0,
- );
- echo strip_tags(wp_nav_menu( $menuParameters ), '<a>, <span>' );
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement