Home Forums Gutenberg Gutenberg blocks are not displaying ACF custom block content


Gutenberg blocks are not displaying ACF custom block content

    • teetl6

    • June 21, 2019 at 11:52 pm


    I made custom Gutenberg blocks with ACF and using custom fields there (only one field per block). But when building post/page content in block editor then blocks are just showing blank area although content in custom fields are filled. Somekind of bug/conflict for Gutenberg + ACF?

    • teetl6

    • June 26, 2019 at 7:56 pm


  • Are you using ACF Pro and have you created templates for your Gutenberg Blocks and called them via: acf_register_block()?


    			'name'				=> 'accordian',
    			'title'				=> __('Accordian'),
    			'description'		=> __('A custom accordian block.'),
    			'render_callback'	=> 'my_acf_block_render_callback',
    			'category'			=> 'formatting',
    			'icon'				=> 'no',
    			'keywords'			=> array( 'testimonial', 'quote' ),
  • I’m having this same issue at the moment. Did you ever figure out a solution?

    • teetl6

    • July 29, 2019 at 4:28 pm

    Yes, after i created block template and coded it to show data (loop or show some fields etc) then Gutenberg started to show content inside blocks.

  • Sounds like a typo somewhere. Can you give the code of one of the broken blocks?

Viewing 6 posts - 1 through 6 (of 6 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.