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:
http://wpshout.com/wordpress-submit-posts-from-frontend/
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.