• Resolved wbmessenger

    (@wbmessenger)


    I’ve created a custom “Gallery” ACF Block using acf_register_block_type() in order to be able to use the ACF Gallery as a Block within the Gutenburg Editor. What is the proper shortcode paramater to use when I have my custom field Location “Rules” set to as “BLOCK is equal to MASONRY GALLERY”?

    Essentially… I can only get this to work if the location of my ACF Custom field is set to a specific page or post. If I change the custom field to show as a block within the Gutenburg editor it cant find it.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    @wbmessenger Interesting… though I guess that makes sense since content in the ACF block is not saved as custom field data and that is what is required by ALM.

    I haven’t thought about how this plugin would be effected with Gutenberg. It is definitely not possible at the moment. I will have to take some time and think about it.

    Thread Starter wbmessenger

    (@wbmessenger)

    No problem! Just wanted to make sure I wasn’t missing something.

    As an alternative I guess I could just setup a custom options page within ACF for Galleries and use the acf_post_id=”option” parameter within the shortcode. I think that will work…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loading content from Gutenburg Block’ is closed to new replies.