Home Forums ACF PRO acf_form_head is not loading the files


acf_form_head is not loading the files

  • Hello guys,

    It seems like the acf_form_head function is not loading the files needed. The front end form is not working!

    Here is my code:

    <?php acf_form_head(); ?>
    <?php // Template Name: Company - Add Gift 
    get_header();  ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <div class="breadcrumb">
    	<div class="container">
    		<div class="breadcrumb-inner">
    			<ul class="list-inline list-unstyled">
    				<li><a href="/">Home</a></li>
    				<li><a href="/">Company</a></li>
    				<li class='active'>Add Gift</li>
    		<!-- /.breadcrumb-inner --> 
    	<!-- /.container --> 
    <!-- /.breadcrumb -->
    <div class="body-content outer-top-xs">
    	<div class="container">
    		<div class="row">
    			<div class="col-xs-12 col-sm-12 col-md-9">
    				        'post_id'       => 'new_post',
    				        'post_title'    => true,
    				        'post_content'  => false,
    				        'new_post'      => array(
    				            'post_type'     => 'gift',
    				            'post_status'   => 'publish'
    			<div class="col-xs-12 col-sm-12 col-md-3">
    <?php endwhile; get_footer();?>
  • Hi @tzio

    It’s possible that there’s a conflict on your site. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.

    Also, could you please check the console tab on your browser for any error messages on the page?

    Thanks 🙂

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

The topic ‘acf_form_head is not loading the files’ is closed to new replies.