The solution is here: https://support.advancedcustomfields.com/forums/topic/acf_form-always-creates-two-posts/#post-51711
<?php wp_footer(); ?> need to be before </body>
Great Scotty V!!!!!!!!!!!!!!
The dateTime problem was solved, it was the ‘Fast Velocity Minify’ plugin that was in trouble. We only get the problem of the post being saved in duplicity
It seems that the problem was caused by this plugin: https://br.wordpress.org/plugins/bnfw/ There is some incompatibility.
Thanks so much!!!!!!!
Thank you for your Answer James.
Should it work if I changed the “../advanced-custom-fields-pro/fields/google-map.php” file on lines 38, 44 and 104? Being the following form:
Line 38
$this->defaults = array(
'height' => '',
'center_lat' => '',
'center_lng' => '',
'zoom' => '',
'mapTypeId' => 'satellite'
);
Line 44
$this->default_values = array(
'height' => '400',
'center_lat' => '-37.81411',
'center_lng' => '144.96328',
'zoom' => '14',
'mapTypeId' => 'satellite'
);
Line 104
$atts = array(
'id' => $field['id'],
'class' => "acf-google-map {$field['class']}",
'data-lat' => $field['center_lat'],
'data-lng' => $field['center_lng'],
'data-zoom' => $field['zoom'],
'mapTypeId' => 'satellite',
);
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 use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.