-
I have a posts block on my homepage. Its showing 5 posts at present. I want to reduce the number of posts shown, and select between latest posts and specified posts, e.g. by category or post ID. How do I do that?
Thanks -
George
Hello,
If you are using a GenerateBlocks query loop, you can set a specific number of posts in the POSTS PER PAGE field, then set
Categoriesas TAXONOMY parameter and set your category.
Alternatively, instead of a TAXONOMY parameter, you could set an Include Posts parameter and select the specific posts you want to show.

-
Hi, I’m using the the Affinity prebuilt page available as a GP One template. At the end of the home page is a section that contains blog posts. I have no idea how to edit that to change the number of posts being shown, or which ones are shown. Thanks,
-
Edit the homepage, select the query block, and you can change the posts per page in the right sidebar:
https://app.screencast.com/pXVUzqLXNthGeIt’s simply showing the latest 4 posts.
If you want to show the latest posts from specific categories/tags, you can click the Add parameter button > taxonomy > the category/tag.
To learn more about the parameter, here’s the doc:https://learn.generatepress.com/blocks/block/query/#add-parameter
- You must be logged in to reply to this topic.