[Resolved] Hide sub pages or specific page in query_posts
My problem seemed easy at first, I know about list pages and its possibilities to exclude subpages like that:
<?php wp_list_pages('depth=1&title_li='); ?>
That would hide my subpages and the problem would be settled! However I am calling my pages with Query Posts, and I have no idea how to eclude one page, or the subpages, from the listing.
<?php query_posts('post_type=page&order=asc'); ?>
Do you have any idea?
Thanks for your help!
- The topic ‘[Resolved] Hide sub pages or specific page in query_posts’ is closed to new replies.