WordPress.org

Ready to get started?Download WordPress

Forums

List Pages Php Question (4 posts)

  1. Jennifer Ledbetter Clay
    Member
    Posted 9 years ago #

    Is there a way to list pages only without a Title to the list?

    I don't want the word "Pages" to show up. I've looked and tried everything on Codex and none give me what I want.

  2. Kafkaesqui

    Posted 9 years ago #

    <ul>
    <?php wp_list_pages('title_li= '); ?>
    </ul>

    Note there is a space between the = and closing single quote. This is the first example at:

    http://codex.wordpress.org/Template_Tags/wp_list_pages

  3. Jennifer Ledbetter Clay
    Member
    Posted 9 years ago #

    Oh you are my new best friend.

    I probably saw that on the codex page, just don't have enough php experience to know what it meant :)

    Thanks again.

  4. Kafkaesqui

    Posted 9 years ago #

    "I probably saw that on the codex page, just don't have enough php experience to know what it meant"

    The example's description probably needs a bit of rewording. I'll look at it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.