Site logo

[Support request] How to enable the block editor for the hook element?

Home Forums Support [Support request] How to enable the block editor for the hook element?

Home Forums Support How to enable the block editor for the hook element?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2401891
    Michael

    Hello Support,

    I’m currently using Astra theme, they have a custom layout function, and I can create a custom layout with the block editor and hook it on anywhere.
    But their block editor Spectra doesn’t support the dynamic content, and they told me this is under development.
    So I want to switch to Generatepress.

    But I’ve checked gp hook element, I can’t create a layout with the block editor. Questions are below:
    Q1: Is there a way to convert the hook element code editor to gp block editor, so it is more intuitive to someone who are not familiar with code.
    Q2: How can we get a shortcode of the block element? So we can insert the shortcode into the hook element. I think this is a solution.

    It takes time to be familiar with new theme, so please help to advise, this is important for me.

    Thank you
    Michael

    #2401897
    Michael

    Here are the screenshot links:
    custom layout
    https://snipboard.io/WfkAvr.jpg
    https://snipboard.io/MhnWLy.jpg

    Hook layout with block editor:
    https://snipboard.io/dAgKJI.jpg

    #2402008
    Ying
    Staff
    Customer Support

    Hi Michael,

    You can use GP’s block element – hook:
    https://docs.generatepress.com/article/block-element-hook/

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