thank you very much. I moved
But map still doen’t work. Do you have any idea please?
Than you very much!
<?php acf_form_head(); ?> <?php /* Template Name: Add Page Template */ get_header(); ?> <div id="content"> <div class="container"> <div class="row"> <div class="col-sm-12"> <?php get_the_title(); ?> <?php while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', 'page' ); endwhile; // End of the loop. ?> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-sm-12"> <?php acf_form(array( 'post_id' => 'new_post', 'post_title' => true, 'post_content' => true, 'new_post' => array( 'post_type' => 'place', 'post_status' => 'draft' ) )); ?> </div> </div> </div> </div> <?php get_footer(); ?>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.