Support

Account

Home Forums Front-end Issues problems with post edit/add Reply To: problems with post edit/add

  • Hi @savvaskef

    The code:

    
    $args = array(
    				'post_id' => 'new',
    				'field_groups' => array(109,108 )
    			);
     
    			acf_form( $args ); 
    

    Is simple and should work. Can you confirm that you have 2 field groups with ID’s of 109 and 108? If these are not loading, there is another issue going on here. The easiest way to debug this is to jump into the core/api.php file and find the acf_form function. There will be some code which uses the field_groups param to load in the field groups via a filter. Perhaps you can debug the result?

    Thanks
    E