Support » Fixing WordPress » Quick question on a query…

  • How can I query only the pages that use “Services” as a parent? Another option is to query pages using “services.php” as a page template? Either one should work.

    I got this working fine, but I can only get it to bring back ALL my pages, or just one specific page.

    <?php query_posts('post_type=page&pagename=services&order=asc'); ?>

    Thanks a bunch.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Quick question on a query…’ is closed to new replies.