• Hi,
    I know I can get a list of sub pages as hyperlinks using:

    $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0&depth=1&menu_order=sort_column");

    but what I want is to be able to build a non-hyperlink list like this:
    <h2>Page 1</h2>
    <h2>Page 2</h2>
    <h2>Page 3</h2>

    can anyone advise on how to do this?

    thanks
    Matt

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting a list of pages (but not as links)’ is closed to new replies.