How to query posts after querying pages
-
I’m trying to output a page’s content followed by regular posts. I am able to grab a page’s content using query_posts(‘pagename=homepage’), however, I am unsure of how to reset query_posts again to pull up all the regular post items.
I’ve tried query_posts(‘cat=1’), which works, but only for Uncategorized posts. I want to account for any future categories that I (or other users of the template) create, without having to a more categories.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to query posts after querying pages’ is closed to new replies.