Grow your CSS skills. Land your dream job.

wp_list_pages question

  • # March 2, 2009 at 7:42 pm

    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

    # March 3, 2009 at 4:50 pm

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".