Forum Replies Created
-
AuthorPosts
-
grafik
Participant*Bump* Any ideas? Is this bug or limitation?
grafik
ParticipantI'm having the same problem, here is my code belo. The plugin seems to change ID's when a repeater is added, how do I get around this?
$meta_boxes[] = array( 'id' => 'post_images', 'title' => 'Post Images', 'pages' => array( 'post'), 'fields' => array( array( 'id' => 'post_image', 'type' => 'group', 'clone' => true, 'max_clone' => 15, 'sort_clone' => true, 'collapsible' => true, 'group_title' => 'image', 'fields' => array( array( 'name' => __( 'Layout', 'rwmb' ), 'id' => "{$prefix}image_layout_post", 'type' => 'select', 'options' => array( 'full' => __( 'Full Width Image', 'rwmb' ), 'double' => __( 'Double Image', 'rwmb' ), 'half' => __( 'Half Page Image', 'rwmb' ), ), 'multiple' => false, 'placeholder' => __( 'Select', 'rwmb' ), ), array( 'type' => 'heading', 'name' => 'Full Page Image', 'hidden' => array( 'meta_image_layout_post', '!=', 'full' ) ), array( 'name' => __( 'Image', 'rwmb' ), 'id' => "{$prefix}post_image_teaser_full", 'type' => 'image_advanced', 'max_file_uploads' => 1, 'clone' => false, 'hidden' => array( 'meta_image_layout_post', '!=', 'full' ) ), array( 'type' => 'heading', 'name' => 'Double Image', 'hidden' => array( 'meta_image_layout_post', '!=', 'double' ) ), array( 'name' => __( 'Image Left', 'rwmb' ), 'id' => "{$prefix}post_image_teaser_double", 'type' => 'image_advanced', 'max_file_uploads' => 1, 'clone' => false, 'hidden' => array( 'meta_image_layout_post', '!=', 'double' ) ), array( 'name' => __( 'Image Right', 'rwmb' ), 'id' => "{$prefix}post_image_teaser_double_two", 'type' => 'image_advanced', 'max_file_uploads' => 1, 'clone' => false, 'hidden' => array( 'meta_image_layout_post', '!=', 'double' ) ), array( 'type' => 'heading', 'name' => 'Image Options', 'hidden' => array( 'meta_image_layout_post', '!=', 'double' ) ), array( 'name' => __( 'Size', 'rwmb' ), 'id' => "{$prefix}image_arrangement", 'type' => 'select', 'options' => array( 'leftbig' => __( 'Left Image Bigger', 'rwmb' ), 'rightbig' => __( 'Right Image Bigger', 'rwmb' ), 'equal' => __( 'Images Equal Sizes', 'rwmb' ), ), 'multiple' => false, 'placeholder' => __( 'Select', 'rwmb' ), 'hidden' => array( 'meta_image_layout_post', '!=', 'double' ) ), array( 'type' => 'heading', 'name' => 'Half Page Image', 'hidden' => array( 'meta_image_layout_post', '!=', 'half' ) ), array( 'name' => __( 'Image', 'rwmb' ), 'id' => "{$prefix}post_image_teaser_half", 'type' => 'image_advanced', 'max_file_uploads' => 1, 'clone' => false, 'hidden' => array( 'meta_image_layout_post', '!=', 'half' ) ), array( 'name' => __( 'Align image', 'rwmb' ), 'id' => "{$prefix}half_image_align", 'type' => 'select', 'options' => array( 'left' => __( 'Align left', 'rwmb' ), 'center' => __( 'Align center', 'rwmb' ), 'right' => __( 'Align Right', 'rwmb' ), ), 'multiple' => false, 'placeholder' => __( 'Align ', 'rwmb' ), 'hidden' => array( 'meta_image_layout_post', '!=', 'half' ) ), ), ), ) );grafik
ParticipantIgnore me I just saw you have a term meta plugin, good stuff!
grafik
ParticipantNice, that has fixed the error messages, will do some more testing to see if everything else is working as expected
grafik
ParticipantHow are you defining the metaboxes? I am using a separate file meta.php if that makes any difference.
grafik
ParticipantI also get the error if I load the metabox-group plugin via the wp-admin plugins. I'm on WP version 4.5.2
grafik
ParticipantHi there, thanks for the quick reply.
I'm using the latest version of metabox from github 4.8.5, and also the latest version of metabox-group (downloaded from My Account). Still getting the same error message.
Any ideas?
grafik
ParticipantHere is a screenshot of the error if you require more information http://grfk.co.nz/1drms
-
AuthorPosts