Hi everybody
I’m using acf pro version. i’ve uplaod version 5.9.3 with wordpress 5.5.3
I’ve custom field with “position” => “normal” and he appaers only in the sidebar , and i can’t drag it just after content.
I don’t understand why
function my_acf_gallery() {
acf_add_local_field_group(array(
'key' => 'group_gallery',
'title' => 'Créer ma galerie',
'fields' => array (
array (
'key' => 'ma_gallerie',
'label' => 'Ma galerie',
'name' => 'ma_gallerie',
'type' => 'repeater',
'instructions' => 'Merci d\'insérer vos photos ici (Maximum 300ko)',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'min' => 0,
'max' => 0,
'layout' => 'table',
'button_label' => 'J\'ajoute une image',
'sub_fields' => array(
array(
'key' => 'mes_images',
'label' => 'Liste des images de ma galerie',
'name' => 'mes_images',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
),
),
'location' => array (
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
),
),
),
'position' => 'normal',
));
}