Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Posts block changes

  • 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

  • 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 Categories as TAXONOMY parameter and set your category.

    Query loop category paramenter

    Alternatively, instead of a TAXONOMY parameter, you could set an Include Posts parameter and select the specific posts you want to show.

    Query loop - Show specific posts

  • 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/pXVUzqLXNthGe

    It’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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.