Can’t create a new topic in the weekends, so a reply might be the best solution.
Basically I want to know how to make two seperate forms (on two different pages even) on the front end where users can create posts. Form one is used to create posts of the custom post type A. Form two is used to create posts of the custom post type B.
So far so good. But when creating posts from the front end forms they seem to use only the code from one of the functions. Form two also creates a post of post type A instead of B for example. Which probably has something to do with the answer you replied to @rvirvo .
You say they will never work this way because of the updated $post_id param. My issue, or my question if you will is: could you explain to me how (if possible) to make this work.
Thanks in advance, and I love your ACF plugin (and add-ons).
I’m having trouble with this issue also. Could one of you provide me the solution to this issue? Maybe updating this tutorial with the solution to this problem might be a good thing to do?
Basically I have one form to create a new post for one custom post type (using the code provided in the tutorial) and one form to create a new post for another custom post type (also using the code provided in the tutorial). What I’m understanding is that, using the code provided in the tutorial, this will never work?
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.