Forums

wp_list_pages doesn't list pages! (12 posts)

  1. distortedstar
    Member
    Posted 7 years ago #

    no matter how I use wp_list_pages, none of my pages list. Not sure what to do. Any help would be appreciated.

  2. Kafkaesqui
    Moderator
    Posted 7 years ago #

    Where (in which theme template file) are you placing the wp_list_pages() tag?

  3. distortedstar
    Member
    Posted 7 years ago #

    Thanks for your reply! I put it in the page template that I created.

  4. badr
    Member
    Posted 7 years ago #

    I have a similar issue. I want to output the list of pages using the wp_list_pages () in the sidebar.php but I don't want to use it to output the title (i.e. Pages).
    I just want to list the pages right underneath the categories as if they were one and the same... any ideas?

    B.

  5. Kafkaesqui
    Moderator
    Posted 7 years ago #

    distortedstar: "I put it in the page template that I created."

    Uh, and that would be? When I check your site, I see your current theme templates are located in:

    wp-content/themes/distortedstarcom/

    Is this where your template using wp_list_pages() resides? If so, which template file is it, and are you sure it's included in your pages?

    badr: See the Codex page for wp_list_pages(), especially the examples covering the 'title_li' parameter:

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

  6. Michael Adams (mdawaffe)
    Member
    Posted 7 years ago #

    There's a bug or two floating around.
    http://mosquito.wordpress.org/view.php?id=927

  7. distortedstar
    Member
    Posted 7 years ago #

    yes, I'm checking the the bugs out right now.

    Sorry about he vague reply Kafkaesqui!

    the file is located at http://distortedstar.com/wp-content/themes/distortedstarcom/writing.php

    Thanks!

  8. distortedstar
    Member
    Posted 7 years ago #

    Looks like the bug listed was supposed to be resolved in 1.5, which is what i'm running.

  9. Ryan Boren
    WordPress Dev
    Posted 7 years ago #

    That's the "reported in" version. The "fixed in" version is 1.5.1. Click on "View Advanced".

  10. distortedstar
    Member
    Posted 7 years ago #

    How can i upgrade?

  11. Ryan Boren
    WordPress Dev
    Posted 7 years ago #

    Wait for 1.5.1. It's not too far away.

  12. distortedstar
    Member
    Posted 7 years ago #

    alright. thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.