Skip to main content

Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24264
    chad86
    Member

    Is there a way to just list the pages as a list without not being wrapped in an anchor link? Customer is looking for the parent pages not link to anything but the children in the drop down actually be links.

    Thanks

    #54600

    There is no way using wp_list_pages() as this always produces a list of links.

    You could try get_pages() as this allows you to do whatever you like with the list. It does require a little more work however.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.