Hey all,
i’ve got a problem with several Photo-size fields.
I want to put several Photo-size fields and set default values.
But the default setting is not changing, if the fieldname includes ‘size’.
The problem only comes up when you are setting several photo-size fields.
So I changing the name to ‘dimensions’ and it works.
'image_size' => array(
'type' => 'photo-sizes',
'label' => __('Image size', 'fl-builder'),
'default' => 'full'
),
to
'image_dimensions' => array(
'type' => 'photo-sizes',
'label' => __('Image size', 'fl-builder'),
'default' => 'full'
),
Do you know about the problem?