Chapter 7: Accepting User Content Submissions

Giving users the ability to contribute content to a website is always a good way to engage the community and keep content fresh on a website. That being said, WordPress does not provide any built-in mechanism for site visitors to submit content to site administrators. This is even more obvious when you consider that adding a simple contact form to a site requires the installation of a plugin.

Going back to the book review system that was put in place in Chapter 4, The Power of Custom Post Types, this chapter will show you how to create a user-facing form to allow visitors to submit their own book reviews to a website. We'll also see how to save this information in the site database, send out email ...

Get WordPress Plugin Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.