John, thanks for your help. The problem is something related to what you mention, although the call to acf_form_head() was there since without it it doesn’t even render the form, the problem was that I needed to put this code that apparently calls all the jquery dependencies of the forms rendered with acf_form()
acf.do_action('append', jQuery('.modal_editar'));
So I can tell the community if you’re going to use acf_form inside a loop or if you’re going to use it with ajax, make sure you use this code.
NOTE: Replace .modal_editar with the wrapper of your acf_form()
Do you try add_post_type_support( 'post', 'page-attributes' ); ? Change post with your cpt slug
If you have created the custom post type with a plugin such as CPT-UI you should activate here https://prnt.sc/vTe49k-8XLnJ or if you have done it with code you should add these lines
'supports' => array(
'page-attributes'
),
and then you will see this in WordPress editor
https://prnt.sc/oeMAQw6VoXk5
Hi, from what I understand custom post type and page attributes are two different things. Could you quote the full sentence from the plugin developer?
Solved! Solution use get_post_meta