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.

Adding fields to your fields group

Adding fields to your fields group - WordPress Tutorial

From the course: WordPress: Advanced Custom Fields

Start my 1-month free trial

Adding fields to your fields group

- Field groups are away for us to create fields and organize them to be displayed on post types, based on a specific set of criteria. Now it's time to start adding fields to the field group we're going to display on posts that are categorized under profile. We are going to make a field group that allows us to add profile information to posts. This will allow us to convert a standard WordPress blog into a basic directory of people. The name maps to the post type. The profile description maps to a WYSIWYG editor. Location maps to text box. And the friends maps to a relational post object field. Let's go ahead and create those now. Let's click on Profile Info, and then we'll add our fields. To add a field, we click the Add Field button. The first field we'll add is the Profile Description. We'll give it a label of Profile Description, and then a Field Name will be automatically generated. Notice that the Field Name is all lowercase, and replaces spaces with underscores. For the Field…

Contents