• Tirwin

    (@tirwin)


    Im using:

    <ul>
    <?php  wp_list_pages('title_li=&depth=1' ); ?>
    </ul>

    This outputs all pages I have published.

    I need this so that each link published has

    <li> </li>

    either side. I’ve seen the statement before but can’t remember it.

    Can someone advise how I can use the statement above but have the li tag either side of each link published?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ListPages with li either side’ is closed to new replies.