php list class issues
-
the validator is telling me that there are a bunch of errors related to how the top nav bar UL is designs in the theme that I have applied to this site: https://willowbilliards.com/wordpress/?page_id=14
when i look in the header.php file, i find that the code that generates this list is
<ul id="page-list"> <?php wp_list_pages('title_li='); ?> </ul><!-- /page-list -->
so how do i edit this code to clean up what gets spit out in the source code (below)???
<ul id="page-list"> <li><li class="page_item page-item-27"><a href="https://willowbilliards.com/wordpress" title="HOMEPAGE">HOMEPAGE</a></li> <li class="page_item page-item-2"><a href="https://willowbilliards.com/wordpress/?page_id=2" title="ABOUT US">ABOUT US</a></li> <li class="page_item page-item-14 current_page_item"><a href="https://willowbilliards.com/wordpress/?page_id=14" title="CONTACT US">CONTACT US</a></li> <li class="page_item page-item-12"><a href="https://willowbilliards.com/wordpress/?page_id=12" title="DIRECTIONS">DIRECTIONS</a></li> <li class="page_item page-item-10"><a href="https://willowbilliards.com/wordpress/?page_id=10" title="EVENTS">EVENTS</a></li> <li class="page_item page-item-4"><a href="https://willowbilliards.com/wordpress/?page_id=4" title="LEAGUES">LEAGUES</a></li> </li> </ul><!-- /page-list -->
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘php list class issues’ is closed to new replies.