admin管理员组文章数量:1125064
What I have:
- I'm running a website (on newest WP 6.4.3) that has three distinct categories, and blog posts for each category.
- Each post specifies this category, and I have hundreds of posts total.
- I have a landing page for each category which uses the standard block "latest posts" to show the 5 newest posts in that category, followed by a link to an "Archive" page with ALL the posts in that category.
Problem:
- My current archive page also uses the standard block "latest posts" which is set to its maximum value of 100 posts. This causes older posts to be hidden.
- I tried to use the standard block "Archive", but it cannot filter by category, so it shows posts from all categories.
- On a whim, I tried asking ChatGPT for help, and it offered custom code to embed. I hope that a nicer solution exists.
What I want:
- I want to build a page that shows ALL posts from ONE category.
- I would have three separate archive pages (one for each category), each one showing only posts from that specific category.
- It would be fine to be able to specify multiple but not all categories in one such archive block.
- Ideally, this should include pagination.
What I have:
- I'm running a website (on newest WP 6.4.3) that has three distinct categories, and blog posts for each category.
- Each post specifies this category, and I have hundreds of posts total.
- I have a landing page for each category which uses the standard block "latest posts" to show the 5 newest posts in that category, followed by a link to an "Archive" page with ALL the posts in that category.
Problem:
- My current archive page also uses the standard block "latest posts" which is set to its maximum value of 100 posts. This causes older posts to be hidden.
- I tried to use the standard block "Archive", but it cannot filter by category, so it shows posts from all categories.
- On a whim, I tried asking ChatGPT for help, and it offered custom code to embed. I hope that a nicer solution exists.
What I want:
- I want to build a page that shows ALL posts from ONE category.
- I would have three separate archive pages (one for each category), each one showing only posts from that specific category.
- It would be fine to be able to specify multiple but not all categories in one such archive block.
- Ideally, this should include pagination.
本文标签: categoriesIs there a standard quotArchivequot block that shows ALL posts from a specified category