Support Log in

Creating Your First Field Group

User Guide
Prefer video? Watch the Field Forge tutorials 8 short guides covering every feature Watch

A field group is a collection of fields that appear together when editing a post or page. This section walks you through creating a real-world field group from start to finish. Instead of a toy example, you will build a “Team Member” profile that a consulting firm might use — with a photo, name, job title, bio, specialties, and a LinkedIn URL. By the end, you will understand every part of the field group editor and be ready to build your own custom configurations.

The Scenario

Imagine you run a consulting firm called Apex Partners. You want each consultant to have a dedicated profile page on your website showing their photo, full name, job title, a professional bio, a list of specialties, and a link to their LinkedIn profile. You have a custom post type called “Team Members” (your developer set this up), and you need the fields for editors to fill in.

Step 1: Create the Field Group

  1. Go to Field Forge > Field Groups and click New Field Group
  2. In the title field at the top, type: Team Member Profile
  3. This title is what editors see as the metabox heading when editing a Team Member post

[Screenshot: the field group editor with “Team Member Profile” entered as the title and an empty field list below]

Step 2: Add the Photo Field

  1. Click the Add Field button — a grid of available field types appears
  2. Click Image from the grid
  3. Configure the field:
– Label: Profile Photo

– Name: profile_photo (auto-generated from the label — leave it as-is)

– Instructions: Upload a professional headshot. Recommended size: 400×400 pixels, square crop.

– Required: Yes (toggle this on — every team member needs a photo)

– Width %: 30 (we will put the photo on the left, with name and title on the right)

The Image field has no Return Format or Preview Size input in the editor. A new Image field returns an image array to your theme code, and the post editor shows the chosen photo as a medium-size preview.

Step 3: Add the Name Field

  1. Click Add Field again, choose Text
  2. Configure:
– Label: Full Name

– Name: full_name

– Instructions: Enter the consultant’s full name as it should appear on the website.

– Required: Yes

– Placeholder: “Jane Doe”

– Width %: 35

Step 4: Add the Job Title Field

  1. Click Add Field, choose Text
  2. Configure:
– Label: Job Title

– Name: job_title

– Instructions: Their role at the firm (e.g., Senior Consultant, Managing Partner).

– Required: Yes

– Placeholder: “Senior Consultant”

– Width %: 35

Step 5: Add the Bio Field

  1. Click Add Field, choose Textarea
  2. Configure:
– Label: Professional Bio

– Name: professional_bio

– Instructions: Write 2-3 paragraphs about the consultant’s background, expertise, and approach. This appears on their profile page.

– Required: Yes

– Rows: 6 (makes the text area tall enough for a few paragraphs without scrolling)

– Width %: 100 (full width, because bios need space)

Step 6: Add the Specialties Field

  1. Click Add Field, choose Checkbox
  2. Configure:
– Label: Specialties

– Name: specialties

– Instructions: Select all areas of expertise that apply.

– Choices: Add each specialty on its own line:

– Strategy

– Operations

– Digital Transformation

– Financial Advisory

– Human Capital

– Risk Management

– Technology

– Sustainability

– Width %: 100

Step 7: Add the LinkedIn URL Field

  1. Click Add Field, choose URL
  2. Configure:
– Label: LinkedIn Profile

– Name: linkedin_profile

– Instructions: Paste the full LinkedIn profile URL (e.g., https://linkedin.com/in/janedoe).

– Required: No (not every team member may have one)

– Placeholder: “https://linkedin.com/in/username”

– Width %: 50

Step 8: Set Location Rules

  1. Scroll down below the fields to the Location Rules section
  2. Set the first dropdown to Post Type
  3. Set the operator to is equal to
  4. Set the value to Team Member (or whatever your team post type is called)
  5. This means every Team Member post on your site will display the “Team Member Profile” metabox

Step 9: Save and Test

  1. Click Publish Field Group (or press Cmd+S / Ctrl+S)
  2. Go to your Team Members post type in the admin sidebar
  3. Open an existing team member post or create a new one
  4. Scroll below the content editor — you will see the “Team Member Profile” metabox
  5. Notice that the Profile Photo field (30% width) sits on the left, with Full Name (35%) and Job Title (35%) on the right on the same row
  6. Fill in some test data: upload a photo, enter a name, title, and bio, check a few specialties, paste a LinkedIn URL
  7. Click Publish or Update to save
  8. Reopen the post to confirm all data is preserved

[Screenshot: a Team Member post in the editor showing the “Team Member Profile” metabox with all fields filled in — photo on the left, name and title on the right, bio below, checkboxes for specialties, and a LinkedIn URL field]

More Examples of Field Groups You Could Build

Field GroupFieldsLocation RuleUse Case
Hero SectionTitle (text), Subtitle (text), Background Image (image), Button Text (text), Button URL (url)Post Type = PagesMost pages on a marketing site need a hero
Product DetailsPrice (number), SKU (text), Weight (number), Availability (select), Gallery (gallery)Post Type = ProductE-commerce product information
Event DetailsEvent Date (date picker), Start Time (time picker), Venue (text), Address (textarea), Ticket URL (url), Map Embed (textarea)Post Type = EventEvents listing site
TestimonialQuote (textarea), Author Name (text), Author Photo (image), Company (text), Rating (range 1-5)Post Type = TestimonialCustomer reviews section
Portfolio ProjectClient Name (text), Project URL (url), Gallery (gallery), Category (select), Description (wysiwyg)Post Type = PortfolioCreative agency portfolio

Tips for Organizing Fields

  • Drag fields to reorder them — the order in the editor is the order editors see on posts
  • Double-click a field label to rename it inline without opening the full settings panel
  • Use Width % to create multi-column layouts. Two fields at 50% sit side by side. Three at 33% create a three-column row
  • Add a Tab field (under Layout types) to split a large field group into tabbed sections. Put content fields in one tab, SEO fields in another, and settings in a third
  • Use a Message field to add instructions, warnings, or notes that editors will see when filling in fields. For example: “Images must be at least 1920×1080 pixels for the hero section.”
  • Keep field names short and descriptive — hero_title is better than the_title_for_the_hero_section_at_the_top

> Good to know: The field Name (like full_name) is what your developer uses in theme code to display the data. Once a field group is in production use, avoid changing field names — it breaks the connection between saved data and the theme. In the field group editor the Name follows the Label: when you change the Label of a field in its settings, or rename the field by double-clicking its label in the field list, the Name is rewritten from the new Label (Job Title becomes Position, and job_title becomes position). When you save, Field Forge moves the values already stored under the old name to the new one, but theme code that still asks for the old name no longer finds them. After changing the Label of a field that is already in use, check the Name box and type the old name back.

> Common mistake: New users sometimes save a field group without changing its location rule. A new group starts with one rule, Post Type is equal to Posts, so its fields appear on posts only. If you want them on pages or on another post type, change the rule in the Location Rules section before you save.

—

Forge AI Assistant Online

Hi! I'm the Field Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs