WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_pages without <li></li> (6 posts)

  1. tee05
    Member
    Posted 4 years ago #

    Can anyone tell me if there's a way to use the wp_list_pages() code to display without the list?

  2. tee05
    Member
    Posted 4 years ago #

    Thanks for the link, but doesn't that enable/disable the Heading? I need it to just display the links for example:
    <li><a href="#">about us</a></li>

    Display as:
    <a href="#">about us</a>

    Anyone know how to do this using wp_list_pages()?

  3. Sorry, blood drained from brain to stomach after large dinner. Looks like a solution here: http://wordpress.org/support/topic/239031?replies=6

  4. tee05
    Member
    Posted 4 years ago #

    Great, thanks!

  5. vteixeira
    Member
    Posted 4 years ago #

    If you want it without the list, use get_pages instead of wp_list_pages.

Topic Closed

This topic has been closed to new replies.

About this Topic