Basically I want to display a form on my blog (on a certain page) that will allow anyone to fill it out and it will create a post in a custom post type.
I saw the answer once before but I can’t find it now.
Basically I want to display a form on my blog (on a certain page) that will allow anyone to fill it out and it will create a post in a custom post type.
I saw the answer once before but I can’t find it now.
You must be logged in to post a comment.
posting from the front-end is a matter of displaying a form and processing it:
form:
the processing:
It might be simpler to use a plugin to do this.
You could also use the excellent Contact Form 7 plugin along with the Post My CF7 Form extension plugin which will allow you to save any custom forms to a custom post, including images as featured attachments, custom meta fields and select/checkbox/radio inputs as taxonomies.
The Post My CF7 Form plugin has a rich functionality that can be leveraged to further customise and tweak the way your forms should be saved. There is a detailed documentation section too.