The first step toward giving visitors the ability to contribute to a website is to present a form that they will be able to use to submit new content. This recipe shows how to create a shortcode that can easily be inserted on any WordPress page to render a simple form.
Creating a client-side content submission form
Getting ready
You should be running the final version of the Book Reviews plugin created in Chapter 4, The Power of Custom Post Types, or using the final resulting code (Chapter 4/ch4-book-reviews/ch4-book-reviews-v11.php) from the downloaded code bundle.