WordPress.org

Ready to get started?Download WordPress

Forums

Meta Box
[resolved] meta box Select type with 'multiple' decleration doesn't saves al (2 posts)

  1. asafche
    Member
    Posted 1 year ago #

    i'm using metabox 4.1.11.
    when i'm registering this meta-box:

    $meta_boxes[] = array(
    	'id' => 'projects',
    	'title' => 'Pin to project',
    	'pages' => array( 'post', 'event', 'designs', 'links' ,'images' ,'files' , 'videos' ),
    	'context' => 'side',
    	'priority' => 'low',
    	// List of meta fields
    	'fields' => array(
    		array(
    			'name'		=> 'project to pin',
    			'id'		=> "per-projects",
    			'type'		=> 'select',
    			'multiple'	=> true,
    			'options' => array(
    				'project 1'		=> 'project 1',
    				'project 2'		=> 'project 2',
    				'project 3'		=> 'project 3',
    				'project 4'		=> 'project 4'
    			)
    		)
    	)
    );

    http://wordpress.org/extend/plugins/meta-box/

  2. rilwis
    Member
    Plugin Author

    Posted 1 year ago #

    This bug is fixed in v4.2. See this thread for more information.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic