Querying all posts
-
Hi, I feel this problem is probably has a really simple solution but I’ve been trying for hours and nothing is working…
I have a dropdown menu of each category, and each item in the menu would lead you to each category’s archive. I just want a page that displays every post, and that would be considered the “all” category. Obviously I don’t want to actually create an “all” category and mark every post as having this category. Is there some code snippet I can stick in category.php (which is the template I’m using to display the category archives) that can say something to the effect of “if I’m on (some page or some empty category) display every post”?
Thanks!
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Querying all posts’ is closed to new replies.