Support

Account

Forum Replies Created

  • Find the includes/admin/views/field-group-options.php file
    Open it
    Find in code

    acf_render_field_wrap(array(
    	'label'			=> __('Style','acf'),
    	'instructions'	=> '',
    	'type'			=> 'select',
    	'name'			=> 'style',
    	'prefix'		=> 'acf_field_group',
    	'value'			=> $field_group['style'],
    	'choices' 		=> array(
    		'default'			=>	__("Standard (WP metabox)",'acf'),
    		'seamless'			=>	__("Seamless (no metabox)",'acf'),
    	)
    ));

    after line
    ‘seamless’ => __(“Seamless (no metabox)”,’acf’)

    add new line
    ‘default closed’ => __(“Standard Collapsed”,’acf’)

    Result

    acf_render_field_wrap(array(
    	'label'			=> __('Style','acf'),
    	'instructions'	=> '',
    	'type'			=> 'select',
    	'name'			=> 'style',
    	'prefix'		=> 'acf_field_group',
    	'value'			=> $field_group['style'],
    	'choices' 		=> array(
    		'default'			=>	__("Standard (WP metabox)",'acf'),
    		'seamless'			=>	__("Seamless (no metabox)",'acf'),
                   'default closed'		=>	__("Standard Collapsed",'acf'),
    	)
    ));

    Save.
    Go to settings for any group field
    Open “Style” list box
    Select “Standard Collapsed”
    Update

    Have a fun

Viewing 1 post (of 1 total)