From the course: WordPress: Advanced Custom Fields
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Creating the submission form page - WordPress Tutorial
From the course: WordPress: Advanced Custom Fields
Creating the submission form page
- [Instructor] With our new page template created, it's time to actually create the page in the WordPress dashboard. To do that, let's go to Pages, Add New. We'll give this a title of Submit Profile, and then we'll set the page template under Page Attributes to User Profile. Then we'll click Publish. If we click on View Page, you'll see we have the title Submit Profile, and then we have our form. We have the title and the content which we've explicitly included in our ACF form function call, and then we have all of our custom fields. There are a couple of caveats about this front end submission form. The first is if you're using certain versions of PHP, like 7.2, you may see a PHP warning here. That does not affect the form or the submission process, but it is something to be aware of. Also, because of certain limitations, we can't include the featured image field on the form, which means that users will not able to submit a profile pic. This is a known issue with advanced custom…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.