• Is it possible to add my Genesis custom block to a page block template using a PHP array:

    Something like this:

    add_action('init', function() {
    	$page_post_type = get_post_type_object('page');
    	$page_post_type->template = [
    		['genesis/my-custom-block'],
    	];
    });

The topic ‘Using custom Gensis blocks in block template’ is closed to new replies.