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.