Support

Account

Home Forums General Issues [SOLVED]acf_form working on homepage but not on inner pages

Helping

[SOLVED]acf_form working on homepage but not on inner pages

  • HELLO! for some reason a acf_form works on the homepage but not on inner pages. I have a save action on post save too could this be the issue?

    acf_form(array(
    					// 'post_id'		=> 'new-enquiry',
    					'post_id'	=> 'new_post',
    					'new_post'	=> array(
    						'post_type'		=> 'enquiries',
    						'post_title'	=> "Enquiry from " . get_the_title() . " page",
    						'post_status'	=> 'publish',
    						'tags_input'	=> array("tags"),
    					),
    					'field_groups' 		=> array("107"),
    					// 'return' 			=> false,
    					'submit_value'		=> 'Submit enquiry',
    					'updated_message'	=> false
    				));
  • didnt have:
    acf_form_head();
    on every page. I added to my header.php now

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

You must be logged in to reply to this topic.