-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Description
I've run into a problem where the metadata is stored but It doesn't appear in term edit screen later.
$oi_catalog = new_cmb2_box( array(
'id' => $prefix . 'catalog_metabox',
'title' => esc_attr__('Catalog settings'),
'object_types' => array('term'),
'taxonomies' => array('product_category'),
'context' => 'normal',
'priority' => 'high',
'show_names' => true
)
);
$oi_catalog_group_id = $oi_catalog->add_field( array(
'id' => '_cmb_catalog_repeat_group',
'type' => 'group',
'options' => array(
'group_title' => __( 'Banner {#}'),
'add_button' => __( 'Add banner'),
'remove_button' => __( 'Remove banner'),
'closed' => false,
'sortable' => false
)
)
);
$oi_catalog->add_group_field($oi_catalog_group_id, array(
'name' => 'URL',
'id' => 'url',
'type' => 'text_url'
)
);Am I missing something? I'm running WP 4.5.3, CMB2 2.2.2.1
Metadata
Metadata
Assignees
Labels
No labels