Home › Forums › Gutenberg › Gutenberg blocks are not displaying ACF custom block content › Reply To: Gutenberg blocks are not displaying ACF custom block content
Are you using ACF Pro and have you created templates for your Gutenberg Blocks and called them via: acf_register_block()?
Example:
acf_register_block(array(
'name' => 'accordian',
'title' => __('Accordian'),
'description' => __('A custom accordian block.'),
'render_callback' => 'my_acf_block_render_callback',
'category' => 'formatting',
'icon' => 'no',
'keywords' => array( 'testimonial', 'quote' ),
));
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.