Support

Account

Forum Replies Created

  • … i found error…

    everything works on standard acf_form()

    I didn’t select button save taxonomy terms….

  • Hey, no one will advise ??? 🙂
    where do I make mistake ?

  • Ok. thanks.

    I have custom_field offer_category – this field isto be taxonomy

    I have page add-post.php with acf_form_head();
    and I have the code below:

    
    <?php acf_form(array(
    	'post_id'  => 'new_post',
    	'uploader' => 'basic',
    	'return'  => '%post_url%',
    	'updated_message'  => 'Post saved!',					
    	'new_post' => array(
    		'post_type' => 'offer',
    		'tax_input' => array('typ' => array($_POST['acf']['field_ID_RELATION_TAX_FIELD'])),	
    		'post_status'		=> 'draft',						
    	),
    	'submit_value'		=> 'Add'
    )); ?>
    
    

    and whole post is being saved but is not affiliated with my custom taxonomy

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