- This topic has 11 replies, 2 voices, and was last updated 1 year, 4 months ago by .
-
Topic
-
Hi Anh,
I’m having a hard time understanding how to write a shortcode to output your MB Group Clone example: https://metabox.io/clone-group-custom-fields-using-meta-box-group/$meta_boxes[] = array( 'title' => 'Car Details', 'context' => 'side', 'fields' => array( array( 'id' => 'car', 'type' => 'group', 'clone' => true, // ALLOW βCARβ GROUP TO BE CLONED 'add_button' => '+ Add Group', 'fields' => array( array( 'name' => 'Brand', 'id' => 'brand', 'type' => 'text', ), array( 'name' => 'Date Release', 'id' => 'date', 'type' => 'date', ), array( 'name' => 'Color', 'id' => 'color', 'type' => 'color', 'add_button' => 'Add Color', ), ), ), ), ); return $meta_boxes; }
Any chance you could show me how with the above example?
Thanks in advance!
- You must be logged in to reply to this topic.