I'm trying to get a text-based navigation menu for the footer of my site. I'm using the
wp_nav_menu() parameters as directed by Codex. He're a snippet of code (in
<div id="footer"> <?php wp_nav_menu(array('depth'=>1, 'after'=>'<span class="sep">|</span>')); ?><br /> <div id="address"> <p>...</p> </div> <div id="contactInfo"> <p>...</p> <p>...</p> </div> </div><!-- #footer -->
So, my goal is to make the menu look like
Home | About | MorePages with only the root-level pages included.
after parameter is ignored! If I try
items_wrap, along with other parameters, they are also ignored. I've been able to get
before_link to work, as well as
I've tried escaping things and not passing HTML, but neither helps.
I'm building based on the Sandbox theme, but
nav-menu.php appear unchanged from the WP core.
How can I get these custom parameters to work?