Display All Posts in Category In a Page
-
I have a page. I want to have the page display the full text of all posts in a particular category. Nowhere can I find how to do this.
I guess I could make the page a category.php or category-#.php but I thought it would be easy enough to do a dynamic query along the lines of (pseudo code):
query_posts(‘cat=thecategory’);
Output all posts in the specified category along with the titleThis can’t be difficult. I have the “run PHP in post” plugin, which works fine.
It seems like passing variables is the way to go, what’s the Codex page and/or syntax for this? The ones I’ve seen don’t let you specify a category to be displayed.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display All Posts in Category In a Page’ is closed to new replies.