Home › Forums › Front-end Issues › Repeater and Flexible Fields not Saving Values from FrontEnd › Reply To: Repeater and Flexible Fields not Saving Values from FrontEnd
Actually I tried to follow this article:
http://thestizmedia.com/front-end-posting-with-acf-pro/
anyway I keep having the same issue even removing that line.
Lately I tried also assign to the post a category in the pre_save_post, adding this line
wp_set_object_terms($post_id, array(1829), ‘category’);
right after
add_post_meta( $post_id, ‘_thumbnail_id’, $image );
but it works randomly, sometimes the category is assigned, sometime not.
I’ve also moved all the code (except the acf_form part) from page template to theme funcions.php, but nothing’s changed.
Problem is I need this to work asap, after losing 2 days on this I’m ready to pay someone to fix it. Anyone available?
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.