WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List Child Pages similar to Archives of Posts (5 posts)

  1. smcandrew
    Member
    Posted 4 years ago #

    This is related specifically to Pages, not Posts.

    What I would like to be able to do is to list Pages that are children of another Page in a format similar to how Archives of Posts displays--for each Page that is listed, I would like to show the Page Title as well as a couple of custom fields. When the list of child pages has more than 10 results, I'd like to have paging, just like you'd see on an Archive page.

    Has anyone done something like this or know of a plugin which would allow you to do it. Again, this is with Pages, NOT Posts.

  2. MichaelH
    Member
    Posted 4 years ago #

    Pages#A_Page_of_Posts is similar to what you could use with a different $args

    $args=array(
       'posts_status' => 'publish',
       'post_type' => 'page'
       );

    I've used that Page of Post example for Pages but wasn't able to get paging to work.

  3. catiakitahara
    Member
    Posted 4 years ago #

    Hi Guys,
    I've got the same issue, but I'd like to show only the pages which are children of a page.
    How can I acchieve that?
    Thanks
    Cátia

  4. MichaelH
    Member
    Posted 4 years ago #

    See the template tag, wp_list_pages(), and the child_of= argument.

  5. catiakitahara
    Member
    Posted 4 years ago #

    Guys,
    I've just found the answer in another topic: http://wordpress.org/support/topic/297090?replies=7.

    The last reply gives the answer.
    Thanks
    Cátia

Topic Closed

This topic has been closed to new replies.

About this Topic