Support

Account

Home Forums Add-ons Gallery Field ACF gallery v.s. Multilingual Press Pro

Unread

ACF gallery v.s. Multilingual Press Pro

  • Hi guys, this is my situation:

    – multisite network with 2 blogs, the main in it_IT , the son in en_EN
    – Multilingual Press Pro
    – Advanced Custom Fields with Gallery Field
    – I export php and put in functions.php this code for the gallery:

    if(function_exists("register_field_group"))
    {
    	register_field_group(array (
    		'id' => 'acf_slideshow',
    		'title' => 'Slideshow',
    		'fields' => array (
    			array (
    				'key' => 'field_536cfe0517a2d',
    				'label' => 'Gallery Articolo',
    				'name' => 'gallery_articolo',
    				'type' => 'gallery',
    				'preview_size' => 'medium',
    				'library' => 'all',
    			),
    		),
    		'location' => array (
    			array (
    				array (
    					'param' => 'post_type',
    					'operator' => '==',
    					'value' => 'post',
    					'order_no' => 0,
    					'group_no' => 0,
    				),
    			),
    		),
    		'options' => array (
    			'position' => 'normal',
    			'layout' => 'no_box',
    			'hide_on_screen' => array (
    			),
    		),
    		'menu_order' => 0,
    	));
    }
    

    BLOG1 – primary :
    All fine, i can insert, move and delete images in ACF gallery.
    I can create a translation of this post with Multilingual Press Pro.

    BLOG2
    When I go to the translated post in blog2 all seem work fine,
    but when I update this post I lost all the images saved in the related “original” post in blog1

    I also wrote to the developers of the Multilingual Press Pro plugin,
    maybe this is the issue?
    http://marketpress.com/2013/how-to-update-custom-fields-in-a-multi-site/

    Any suggestions?
    Thanks a lot

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.