Hi,
here is my code for my nav bar in the header.php file.
<div id="nav">
<div class="alignleft">
<ul>
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
</ul>
</div>
How do I go about getting a separator of "|" between each page link?
I forgot to mention, the following is the site it is for...
http://artbymichaelking.com/bikram/
Please, Someone must be able to help.
As there is no parameter to separate in wp_list_pages, you could do something like add a right or left border to your 'li' in your css, but the only trouble with this method is you end up with on on the far right or left of your menu.
Of course, if you just have to have the | separating your items, you may list your menu items manually.
A part of my brain is niggling me with this though, because I feel sure there is a better method to do what you ask.
singer74
Member
Posted 4 years ago #
I need help with this too. Can't something similar to this be done:
http://wordpress.org/support/topic/149912
???
brianmcculloh
Member
Posted 4 years ago #
I need this too. Anyone???