First of all, can I say I don't link the new All in One. By default it enables all the extensions, half of which I don't need. I've had to turn them all off. I tried the Builder for the first time, but there were too many options, and it's faster just to type the code.
However, I am now having two issues with metaboxes that I've not had in the past. I have the following to create my fields:
$meta_boxes[] = [
'title' => __( 'Client Types', 'wbng' ),
'id' => $prefix .'client_types',
'post_types' => ['page'],
'include' => [
'template' => ['page-templates/home.php'],
],
'fields' => [
[
'name' => __( 'Client Type', 'wbng' ),
'id' => $prefix . 'client_type',
'type' => 'group',
'clone' => true,
'sort_clone' => true,
'fields' => [
[
'name' => __( 'Title', 'wbng' ),
'id' => $prefix . 'client_title',
'type' => 'text',
'label_description' => __( 'Client type', 'wbng' ),
],
[
'name' => __( 'How we can help', 'wbng' ),
'id' => $prefix . 'how_we_can_help',
'type' => 'wysiwyg',
'label_description' => __( 'How can we help this type of client?', 'wbng' ),
],
],
],
],
];
However, there are two issues. I can't clone the 'Client Type' group. I also can't view the 'Type' area in the WYSIWYG editor. Anyone got any ideas?