Good afternoon,
I’m experiencing issues when submitting updates/additions to a user profile. The data is stored but I am redirected to a blank page of the same url. Below is the code that is being used. Your assistance with resolving the issue would be greatly appreciated.
<?php acf_form_head(); ?>
<?php get_header(); ?>
<div class=”family-profile”>
<h4> FAMILY PROFILE </h4>
<?php
$acf_user = ‘user_’ . $user_id;
$options = array(
‘post_id’ => ‘user_’ . $acf_user,
‘field_groups’ => array(1365),
‘form’ => true,
‘return’ => add_query_arg( ‘updated’, ‘true’, get_permalink() ),
‘html_before_fields’ => ”,
‘html_after_fields’ => ”,
‘submit_value’ => ‘Update Family’
);
acf_form( $options );
?>
</div>
Thank you,
WordPress 4.3 running Deborah theme.
Advanced Custom Fields Pro Version 5.3.0
The code included above was originally being used in a global template. The issue was resolved but changing it to a page template.
I’m not familiar with the term “global template”. Can you explain what that means.