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

Home Forums Back End wp_list_pages question

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

    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.



    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.