[Support request] Custom Content Template Block

Home Forums Support [Support request] Custom Content Template Block

Home Forums Support Custom Content Template Block

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2320032
    Erol

    Hi Team,

    Is it possible to create a Content Template Block with the first post looking like featured (large) on the left hand side and 3 smaller ones on the right hand side like this image https://websmith.cc/content-template.png

    Mny thanks.

    #2320076
    David
    Staff
    Customer Support

    Hi there,

    if you want it on a Static Pagge then you can use the GenerateBlocks plugin Query Loop Block.

    And we have some pre-made patterns that could be re-purposed for that design:

    https://generateblocks.com/library/?pattern-category=query-loop

    #2320288
    Erol

    Hi David many thanks for the quick reply. I know I can do anything I like with GenerateBlocks πŸ™‚ But I needed this to display latest posts from a category in the home page dynamicaly.

    #2320299
    David
    Staff
    Customer Support

    You can use the Query Loop block top do that πŸ™‚
    In the GB Query Loop setting you can Add Parameter. And set the Taxonomy to Categories.

    #2320306
    Erol

    I know this too πŸ™‚ I was wondering if it is possible to display in two grids, First one displaying the latest post and on the right hand side grid we display 3 more posts from the same category stacked on top of each other using some custom CSS or would it be possible to hide the latest post from the second content template since it is already displayed on the left hand side grid.

    #2320311
    Erol

    Like in your Dispatch site https://gpsites.co/dispatch/ (First WP Show Posts Section) only difference is the right column will have 3 posts stacked one after another πŸ™

    #2320315
    David
    Staff
    Customer Support

    So are you ok with using GenerateBlocks for this?

    Let me know and ill explain πŸ™‚

    #2320324
    Erol

    Yes. I have been with GP since 2016 and never use anything else on my projects πŸ™‚

    #2320366
    David
    Staff
    Customer Support

    You can:

    1. Add a 2 column Grid Block.
    2. In the first column add a Query Loop block to show the first post.
    3. In the second column add a Query Loop to show the stack of posts. In this query loop you can set the Add Parameter and choose Offset to mis out the first post.

    #2320420
    Erol

    Great. Thank you very much David.

    #2320948
    David
    Staff
    Customer Support

    You’re welcome

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