Hi after, searching for an answer on how to remove
ul and li tags from a WP NAV MENU, I found this solution:
<?php $foot_nav = wp_nav_menu( array( 'container' => '', 'echo' => '0', 'theme_location' => 'registrations' ) ); $foot_nav2 = preg_replace( array( '#^<ul[^>]*>#', '#</ul>$#' ), '', $foot_nav ); $foot_nav2 = preg_replace( array( '#<li[^>]*>#', '#</li>$#' ), '', $foot_nav2 ); echo $foot_nav2; ?>
My only issue with this is I would like to add a BREAK after each link so the nav looks as follows:
... how can I accomplish this? I tried to PM the OP but no way of doing so.
Thanks for the help