Give help. Get help.

  • # August 14, 2009 at 9:56 am


    I have a little problem, i want to list all the child pages of a page without having to specify the childs name, is this possible?

    I cant use the wp_list_pages because of alot of reasons and i want to use the loop.

    The query post for displaying a specific child looks like this: query_posts(‘pagename=who-we-are/child’); but that only displays one single item, i really want to list all the child pages instead!

    Any sollution?

    # August 18, 2009 at 3:51 pm

    *Moved to CMS section

    I don’t understand why you can’t use wp_list_pages? What are your reasons?

    # August 18, 2009 at 9:10 pm

    Well if he needed actual content wp_list_pages wouldn’t work, although he didn’t actually say that.

    I was just looking into this today actually and failed. You can query_posts for Pages, but there doesn’t seem to be a parameter to specify a parent/child. I bet there is some fancy way to do it though…

    # August 19, 2009 at 9:36 am

    Maybe make it so all the child pages are in their own directory, then display the contents of that directory?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.