Archived topic
Use posts grid as Gutenberg block
5 replies · Started by negative-network on October 5, 2021
Hi, I've just loaded the "Mellow" template from the site library.
I would like to use the blog display (these 2 columns posts cards per row) on other pages, is it possible to use it as a Gutenberg block ?
Cheers
Hi there,
I would like to use the blog display (these 2 columns posts cards per row) on other pages, is it possible to use it as a Gutenberg block ?
I'm not exactly sure what you mean.
Do you mean to use 2 column layout on non-archive page's contents?
Yes that's what I mean ! Use this layout as a Gutenberg block
Yes that’s what I mean ! Use this layout as a Gutenberg block
If what you mean is to have a post query loop block that has the same layout and styling similar to the archive pages of Mellow:
I believe its possible but this will require a post grid plugin and a significant amount of custom CSS to match the styling. (unless the post grid plugin you're going to use already has a card style similar to mellow's post items)
You can try your luck with WP Show Posts and add it through a shortcode block. :D
Hmm ok, I'm a web developer so I know how to do it, with or without an external plugin.
As a suggestion, I think it would be a great idea to always have the posts grid layout available as a Gutenberg block, would make things much easier :-)
Hi there,
we have plans to add this kinda functionality to GenerateBlocks. Planned for a 2022 release :)