Using a Gutenberg block from Kadence - possible or only native GB?

Kadence has come out with an excellent set of wireframe Gutenberg blocks.

Can one use those Gutenberg blocks, set up the wireframe, and then sync it to Bricks builder? Or does Bricks builder only sync with native Gutenberg blocks, not third-party ones?

I think this is a great question. I work a lot with wireframes or low-fidelity sets. Then I apply a framework to it like Oxymade in Oxygen… Boom colors , responsive and fast to build. I would love to see some low fidelity design sets in Bricks. I know a lot of devs will hate on this… But, I would rather deliver a high performing website that converts(great copywriting(a more important focus)) than spen TIME building a custom app when best practices have already been discovered and tested. Anyways… Rant over :slight_smile:

1 Like

I think you can load Gutenberg blocks into your Bricks template via Post Content (All post content including all blocks used will load) or reference individual blocks. Pasting below code in Bricks Code block will output all paragraph blocks from Gutenberg of post id 1 into the layout. It’s an example code. You can customize it as per your requirements.

$post_id = 1;
$post = get_post($post_id);
$blocks = parse_blocks($post->post_content);
foreach ($blocks as $block) {
	if ($block['blockName'] == 'core/paragraph') {
		echo render_block($block);
	}
}
1 Like

Sweet… thanks omega. I will give this a shot!

1 Like