Using CMB2 we are able to create metaboxes for various post types. Right now, by default, every added custom field will be separated with new row.
For a better usability I would need to add some text fields next to each other, like on the image bellow:
Is that even possible with CMB2?
Code Im using right now is:
$cmb->add_field( array(
'name' => 'Test Text Medium',
'desc' => 'Street',
'default' => '',
'id' => 'street',
'type' => 'text_medium',
) );
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire