Page listing all Posts without creating template
-
Hi All,
This is a really simple problem that bugs me often, I just can’t seem to wrap my head around the correct solution.
Very basic website, 5 Pages and a Blog. Homepage is a static page using the home.php template. 4 other pages are just standard WordPress Pages using page.php.
Now let’s say I want to have a blog using standard WP Posts. It will have multiple categories.
What do I link to in my menu that goes to a page listing all my blog posts?
I know I can do ?cat=3 which will show all posts in a certain category, but I don’t want that because I want all of my categories to display.
I know I can create a custom page template (eg, all-posts.php) and then query all my posts, but I feel as though I shouldn’t have to do that.
I feel as though this can be achieved using archive.php or something else baked in to WP but I just can’t wrap my head around it. It’s really not a big deal to use a custom page template but I don’t want to if I don’t have to.
Any ideas?
The topic ‘Page listing all Posts without creating template’ is closed to new replies.