Site logo

[Resolved] GenerateBlocks vs WP Show Posts

Home Forums Support [Resolved] GenerateBlocks vs WP Show Posts

Home Forums Support GenerateBlocks vs WP Show Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1798091
    lunatrix

    I would like to add a post layout to a page and I am wondering if I can do it with GenerateBlocks, or if I should opt for WP Show Posts?

    I have a blog with (currrently) 6 categories. On one of my pages I want to display posts that are in 2 of the categories, and not the other categories. I was following the custom blog layout video on YouTube but couldn’t get my custom post block to show on my desired page. Did I miss a hook? Or is it not possible to do this with GB?

    Thanks!

    #1798192
    Elvin
    Staff
    Customer Support

    Hi lunatrix,

    I would like to add a post layout to a page and I am wondering if I can do it with GenerateBlocks, or if I should opt for WP Show Posts?

    You’ll need WP Show posts or a plugin of a similar function because GenerateBlocks don’t do post queries. It’s for doing layouts. 🙂

    I was following the custom blog layout video on YouTube but couldn’t get my custom post block to show on my desired page. Did I miss a hook? Or is it not possible to do this with GB?

    While you can change the layout of an existing post archive or blog page with GenerateBlocks and GP Premium 2.0 like you saw on Leo’s videos, that’s not a substitute for WP Show Posts because that only changes the template for an existing query. It doesn’t add post queries.

    #1799066
    lunatrix

    Thanks 🙂

    #1799506
    Elvin
    Staff
    Customer Support

    No problem. 😀

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