Navigation Problem with Pages
-
I’m trying to change the navigation system on my blog’s theme. I can do it if I hard code it, but I cannot see how to get it to work properly with the wp_list_pages PHP function.
Basically, I need a way of being able to put the <span> tags around the text of the link…how can I go about doing this?
The top part (all the hard coded stuff would would, just need to change from the php to the actual path).
<div class="path"> <div id="tabsC"> <ul> <li><a href="<?php bloginfo('url');?>/"><span>Home</span></a></li> <li><a href="<?php bloginfo('url');?>/"><span>Sample Quotes</span></a></li> <li><a href="<?php bloginfo('url');?>/"><span>Types of Cover</span></a></li> <li><a href="<?php bloginfo('url');?>/"><span>FAQs</span></a></li> <li><a href="<?php bloginfo('url');?>/"><span>Glossary</span></a></li> <li><span><?php wp_list_pages('depth=1&title_li=&before=–'); ?> <span/><li> </div> </div>
Not sure i’ve explained myself very well, but hopefully someone will be able to help ?? Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Navigation Problem with Pages’ is closed to new replies.