Hi @aleksandrk,
Thanks for asking.
This plugin lets you create your own block, with whatever fields you want.
Reusable blocks let you create a ‘compound block’ that contains existing blocks.
For example, if a client needs a hero section to look exactly a certain way, you can create a GCB block with fields for an image, headline, copy, and CTA button.
And in the PHP template, you can put exactly the markup you need.
https://developer.wpengine.com/genesis-custom-blocks/get-started/create-your-first-custom-block/
Hi Ryan,
Thanks for answering so quickly.
I will add that a big benefit of Genesis Custom Blocks is that one can adjust a given block’s template once and have the changes take effect immediately for all uses of the block. This is akin to WP’s reusable blocks functionality, but without the limitation of having the same content (which is a major limitation!). This makes the website much easier to adapt to changing requests, and is also reminiscent of Genesis’ approach to web development.
Regarding unique content design, personally I have been very impressed with Gutenberg approach. I find that Gutenberg simplifies sections like hero by a lot, and this is not even counting the custom blocks that are available through the multitude of plugins. It would be nice if the current plugin could make use of pre-built blocks…
IMO the issue with Gutenberg is that it is not yet mature, and complicated blocks tend to break with new releases. As the current plugin is also fairly new, do you find development based on Genesis Custom Blocks to be more or less reliable for complex blocks compared to building them with Gutenberg?
Hi @aleksandrk,
Great point about being able to change the PHP template code and have it apply to all blocks.
As the current plugin is also fairly new, do you find development based on Genesis Custom Blocks to be more or less reliable for complex blocks compared to building them with Gutenberg?
I’m biased, but if you need something really custom, GCB is the way to go. Like you mentioned, you can change the markup whenever you want.
The blocks are dynamic, so you completely control the output with the PHP template. We can’t release an update that breaks your templates, other than a catastrophic bug.
But if an existing Core block or reusable block works, that’s fine also.