Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ah… a little more detail. I am attempting to give each page link in my horizontal navigation a unique icon. So I wanted to ad an id to the list element.

    Right now it appears as
    <li class="page_item"><a href="https://localhost/wordpress/?page_id=3" title="Archives">About</a></li>

    What I need is
    <li id="about" class="page_item"><a href="https://localhost/wordpress/?page_id=3" title="Archives">About</a></li>

    It doesn’t really matter what the id is as long as each

    list element receives a unique id identifying the page.

    What needs to be modified to show a page id as the id in the

    • element when using wp_list_pages()?
Viewing 2 replies - 1 through 2 (of 2 total)