Hi,
I have a plugin, which creates block codes, like:
<!-- wp:skaut-google-drive-gallery/gallery {"path":["2025"]} /-->
When I try to render this in a code element, it doesn’t get rendered. How can I use this piece of code on a bricks page?
Ben
Hi,
I have a plugin, which creates block codes, like:
<!-- wp:skaut-google-drive-gallery/gallery {"path":["2025"]} /-->
When I try to render this in a code element, it doesn’t get rendered. How can I use this piece of code on a bricks page?
Ben
try…
<?php
echo do_blocks('<!-- wp:skaut-google-drive-gallery/gallery {"path":["2025"]} /-->');
?>
of course, thank you!!