Show meta custom field values ??in the table
-
I created a custom post type with related custom meta boxes using CMB2, but when I go to create the table I can select the custom post type but not the custom fields in the columns.
I sent via meta , but after I insert the key /ID it is deleted and returns to “new meta key”, how can I display my custom values ??in the table?an example of code that I use to create the post fields
$cmb_apertura->add_field( array(
? ? ? ? 'id' => $prefix . 'descrizione_breve',
? ? ? ? 'name' ? ? ? ?=> __( 'Descrizione breve *', 'design' ),
? ? ? ? 'desc' => __( 'Descrizione sintetica ' , 'design' ),
? ? ? ? 'type' => 'textarea',
? ? ? ? 'attributes' ? ?=> array(
? ? ? ? ? ? 'maxlength' ?=> '255',
? ? ? ? ? ? 'required' ? ?=> 'required'
? ? ? ? ),
? ? ) );
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.