I FOUND THE SOLUTION!
My solution is to get rid of the directory plugin and run it 100% with ACF.
So long, and thanks for all the fish.
So… since I will never get this figured out, my “bugs” are now features.
Since the directory is going to be for multiple types of companies, I’ll let them do the title, and categorize the directory (built into that plugin), but then take them to an already posted version with the ACF stuff I need.
Thanks for the help, man. Great plugin that is limited only by my experience.
Gonna be swooping a repeater field and the gallery very shortly.
Cheers!
The code is complex, because it’s from another plugin.
I don’t think there’s something that is obstructing it from being posted, I think there is something missing that is keeping it from being posted.
Does it look like all the conditions are there for the problem not to be that something is missing?
This has always been a problem. The code is too complex for me to alter it and guarantee it works still.
I’m off to debug now.
Hello!
The backend form is loading all the form inputs and values properly.
The problem is only with the acf_form inputs not posting the values.
Thank you for your attention on this.
Hello! Thanks for the speedy reply.
I am only using 2 plugins. The directory and ACF.
I’ve setup multiple custom fields for the directory post type. The directory works entirely in the frontend. I’ve properly coded all the form inputs into the frontend but they don’t work when publishing a new post, only when updating a post.
The CustomPress is a builtin core function of the directory, and wouldn’t interfere with ACF.
What’s missing in my whole process is getting the fields to $_POST.
Cheers.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.