- This topic has 11 replies, 4 voices, and was last updated 1 year, 7 months ago by .
-
Topic
-
I saw a similar problem in a previous topic, but it wasn’t quite the same.
When I create an ‘image_advanced’ field within a group, then save it, then add a new group, the ‘image_advanced’ field gets copied over. The images can be deleted and saved without problems. But they only appear again on a newly added group.
$meta_boxes[] = array( 'id' => 'example_metabox', 'title' => 'Example', 'post_types' => array('page'), 'context' => 'advanced', 'priority' => 'high', 'autosave' => 'false', 'fields' => array( array( 'id' => '_images_example', 'type' => 'group', 'default_state' => 'expanded', 'collapsible' => true, 'save_state' => true, 'clone' => true, 'sort_clone' => true, 'fields' => array( array( 'id' => '_images', 'type' => 'image_advanced', 'name' => 'Images', ), ), ), ), );
- You must be logged in to reply to this topic.