Bummer! This is just a preview. You need to be signed in with a Treehouse account to view the entire video.
Common Uses for Forms in WordPress0:48 with Zac Gordon
Most websites need at least a simple contact form. WordPress doesn't come with a built-in way to create forms though. In this introduction video we’ll examine a few reasons for adding forms to a WordPress site as well as identify ways to implement them.
[How to Build a Custom WordPress Theme, Stage 7: WordPress and Forms, with Zac Gordon.]
WordPress does not come with the default ability
to add custom forms to a site.
It does come with comment and login forms, but nothing that we could use
for something like a contact form.
WordPress does come with an email function that you can use
to code a contact form in your theme template files.
That said, it's usually best to use a well-built plug-in,
since it will likely address a lot of the security issues
that come along with user-submitted content,
as well as use the best practices for sending emails from within WordPress.
In the next couple of videos, we're going to look at two plug-ins
we could use to create contact forms on our site.
You need to sign up for Treehouse in order to download course files.Sign up