Support

Account

Forum Replies Created

  • Well, actually, it appears that my problem was completely unrelated. I went to try your idea, and, having closed my SFTP client for the first time since I started working on this, I had to re-download the functions.php file. It looks like none of my previous changes had successfully uploaded after all. Everything works fine now. Thanks for your help!

  • Unfortunately not. Good thought on disabling other plugins, but that didn’t work either. I wouldn’t expect this to be the case anyway, I’m very picky about the plugins I use and I avoid using them if possible anyway.

  • It’s installed as a plugin, and yes, I did trash the original.

    Thanks!

  • Hi there,

    I’m having the same issue here. The plugin is network activated, and works fine on the first site, but then I export the PHP and paste it into my functions.php file, and nothing happens on the other sites. I’ve tried hooking into init too, but had no luck.

    I’m using ACF v. 4.1.1

    Here is the code:

    if(function_exists("register_field_group"))
    {
    	register_field_group(array (
    		'id' => 'acf_portfolio',
    		'title' => 'Portfolio',
    		'fields' => array (
    			array (
    				'key' => 'field_588e77e6e4801',
    				'label' => 'CMS',
    				'name' => 'cms',
    				'type' => 'text',
    				'default_value' => '',
    				'placeholder' => '',
    				'prepend' => '',
    				'append' => '',
    				'formatting' => 'html',
    				'maxlength' => '',
    			),
    		),
    		'location' => array (
    			array (
    				array (
    					'param' => 'post_type',
    					'operator' => '==',
    					'value' => 'portfolio',
    					'order_no' => 0,
    					'group_no' => 0,
    				),
    			),
    		),
    		'options' => array (
    			'position' => 'normal',
    			'layout' => 'no_box',
    			'hide_on_screen' => array (
    			),
    		),
    		'menu_order' => 0,
    	));
    }

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)