I’m trying to write a form for visitors to submit content (posts) directly from a page I have created.
I’m using the “wp_insert_post” function, and found this tutorial:
However, I can’t make it post to the database — it just returns a “page not found” when submitted.
Any pointers or tips?
Thanks in advance.
- The topic ‘wp_insert_post fron a page’ is closed to new replies.