Support

Account

Home Forums Gutenberg Parsing ACF Gutenberg block from another page Reply To: Parsing ACF Gutenberg block from another page

  • Hello Amigo,

    you mean something like this?

    $content = get_the_content(false, false, 11);
    $myblocks = parse_blocks($content);
    foreach($myblocks as $block){
    	if($block['blockName'] == 'acf/business-info'){
    		echo render_block($block);
    	}
    }