I solved , using wp default tinymce code and working fine not external,
there is in source code another tinymce codes appear with acf gallery form
thanks for answer it’s worked
do_action( 'acf/save_post' , $post_id ); doesn’t work too with ACF PRO 5.6.0, it was working fine with 5.5.14
because I am using this to upload featured image , and I need to add name=”featured_image” input name
Thanks John for answer I also tried Acf 5 html code, but it’s not wroking too;
<div class="acf-input">
<div class="acf-image-uploader acf-cf" data-preview_size="thumbnail" data-library="all" data-mime_types="" data-uploader="wp">
<input name="featured_image" value="" type="hidden"> <div class="view show-if-value acf-soh" style="max-width: 150px">
<img data-name="image" src="" alt="">
<ul class="acf-hl acf-soh-target">
<li><a class="acf-icon -pencil dark" data-name="edit" href="#" title="Edit"></a></li>
<li><a class="acf-icon -cancel dark" data-name="remove" href="#" title="Remove"></a></li>
</ul>
</div>
<div class="view hide-if-value">
<p style="margin:0;">No image selected <a data-name="add" class="acf-button button" href="#">Add Image</a></p>
</div>
</div>
</div>
can not open the image upload popup , I see this error ;
Uncaught TypeError: Cannot read property 'query' of undefined
hey @klayemore my theme also soft rejected..How can I solve theme check errors? Could you pls help me?
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.