Support

Account

Home Forums Gutenberg ACF Block is not displayed

Helping

ACF Block is not displayed

  • I created my own block according to the instructions here: https://www.advancedcustomfields.com/resources/blocks/
    When that didn’t work, I simply copied and pasted the code, but that didn’t work either. I don’t see the block in ACF Pro when I create fields in ACF, nor do I see the block in the editor.

    When that didn’t work, I also tried the variant with the callback. The block does not appear either:
    https://www.advancedcustomfields.com/resources/acf_register_block_type/

    Plugins aktiv:
    Timber
    ACF Pro Ver. 5.8.12

  • Before I created the block, I used a get_field (“field_name”, “Options”) in Functions.php.
    If I swap these lines, the block works.

    The function get_field blocks the rendering of the blocks.

    I had a simple query whether the block should be active in an option page with ACF fields.

    Is it possible that there is a bug here?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.