title: How to create custom post type item by submitting form on frontend in Wordpress
body: <p>I have a form in my Wordpress theme and I want to create custom post when I submit that form and to fill that custom post with some data from the form. What would it be?  A plugin or maybe just several strings of code in functions.php? Kindly show me proper directions.</p>