I want to add a field in my custom meta box, same as below, but not for tags. How can I repeatedly take more inputs in the same field?
Here is my code added to functions.php:
function dikka_cmb_meoxes( array $meta_boxes ) {
$prefix = 'dikka_';
$meta_boxes['details_meox'] = array(
'id' => 'details_meox',
'title' => __( 'Porject Details', 'dikka' ),
'pages' => array( 'portfolio', ), // Post type
'context' => 'normal',
'priority' => 'high',
'show_names' => true, // Show field names on the left
'fields' => array(
array(
'name' => __( 'Client', 'dikka' ),
'desc' => __( 'Add client name', 'dikka' ),
'id' => $prefix . 'add_client',
'type' => 'text',
),
array(
'name' => __( 'Skills', 'dikka' ),
'desc' => __( 'Add skills', 'dikka' ),
'id' => $prefix . 'skills',
'type' => 'text',
),
array(
'name' => __( 'Release Date', 'dikka' ),
'desc' => __( 'Add release date of project', 'dikka' ),
'id' => $prefix . 'add_releasedate',
'type' => 'text_date',
),
)
);
return $meta_boxes;
}