Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • guymc
    Participant

    Hello,

    Is it possible to convert a Gutenberg block into a shortcode?
    My goal is to display a Gutenberg Block into a page builder

    Thanks in advance,
    — GM

    Hi @guymc,

    Sorry for the late reply. Right now it is not possible since it requires special integration with the Block editor. I’m planning for it in the future.

    I can suggest a workaround for now.

    You can build the blocks in a normal post, switch to the code editor, copy the HTML and paste it as shortcode content.

    The challenge with this approach is that if you need to edit the code, then you need to do the same in reverse.

    I’ll update once I’m able to add this feature to the plugin.

    Thanks,
    Aakash

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

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter