Support

Account

Home Forums Backend Issues (wp-admin) Position normal not working

Unread

Position normal not working

    • soxy_b

    • November 14, 2020 at 2:07 am

    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',
    	));
    	
    }
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.