Support Log in

Flexible Content — Building Page Sections (PRO)

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

Flexible Content is a PRO field type in Field Forge. It turns your WordPress editor into a simplified page builder by letting content managers choose from a set of pre-defined section types and arrange them in any order. Each section type (called a “layout”) has its own set of fields, and editors mix and match layouts to create unique pages without writing code or touching design tools.

Think of it this way: your developer designs the section templates (Hero Banner, Features Grid, Testimonials, CTA, etc.) and defines what content each one needs. Your content team then assembles pages by picking which sections to include and filling in the content. Every page can have a different combination and order of sections.

How Flexible Content Differs from Repeaters and Groups

FeatureGroupRepeaterFlexible Content
Number of instancesAlways 1Multiple rows, all identicalMultiple sections, each can be different
Sub-field structureOne fixed setOne fixed set per rowDifferent set for each layout type
Editor adds moreNoYes — adds identical rowsYes — chooses which layout to add
Best analogyA single formA spreadsheet (same columns)A page builder (different section types)

Step-by-Step: Building a Complete Landing Page Builder

The scenario: You manage marketing for a SaaS company. Your marketing team needs to create landing pages for campaigns, product launches, and webinars. Each landing page has a different structure — some start with a hero and end with a CTA, others have testimonials followed by a features grid followed by a pricing table. You need to give marketers the flexibility to build whatever they need without involving a developer each time.

Here is how to build a Flexible Content field with five layout types:

#### Creating the Field Group

  1. Go to Field Forge > Field Groups and click New Field Group
  2. Enter the title: Landing Page Builder
  3. Click Add Field, choose Flexible Content (under Compound Fields, PRO)
  4. Configure:
– Label: Page Sections

– Name: page_sections

– Instructions: Build your page by adding sections below. Drag to reorder. Each section type has its own set of fields.

– The editor has no input for the text of the add button. A field made in the editor has the button Add Layout; a field imported from ACF can carry the button text it had in ACF.

A sub-field inside a layout has these settings in the editor: Label, Name, Type, Width %, Default, Required and Instructions. A Text, Textarea, Number, Email or URL sub-field also has Placeholder, and a Select, Checkbox, Radio Button or Button Group sub-field also has Choices (one per line). A Text or Textarea sub-field also has a Character limit, and a Checkbox or Radio Button sub-field also has a Layout (vertical or horizontal). A text over its Character limit is not saved: the Flexible Content field keeps its old rows and a notice names the field. The lists below give only the type and the Width %. Inside a layout Field Forge saves Default and Required but does not use them: the input is not pre-filled with the Default, no asterisk is shown and nothing is checked when the post is saved. The sub-fields of a layout row are drawn one under another, so there the Width % does not set a width; it sets the width of a sub-field in the rows of a Repeater, as in the Features and Quotes lists below. Textarea, WYSIWYG, Image, File, Google Map, Link, Page Link, Post Object and Calculation sub-fields are drawn with their own controls; simple types such as URL, Color Picker or True / False appear as a plain text box inside a layout, so the types in the lists below say what each sub-field holds, not how its input looks. A Select, Checkbox, Radio Button or Button Group sub-field is drawn from its Choices when you enter some, and is a plain text box when you enter none. The editor has no Rows or Minimum Rows input for a sub-field, so a Repeater inside a layout has no minimum number of rows. In the lists below a choice such as a style or a column count is a Text sub-field that editors type; you can use a Select sub-field with Choices instead.

#### Layout 1: Hero Banner

  1. Inside the Flexible Content settings, click Add Layout
  2. Name it: Hero Banner
  3. Add sub-fields:
  • Headline (Text), Width % 100
  • Subtitle (Textarea), Width % 100
  • Background Image (Image), Width % 50
  • Background Overlay (Text: editors type none, light or dark), Width % 50
  • Button Text (Text), Width % 50
  • Button URL (URL), Width % 50

#### Layout 2: Features Grid

  1. Click Add Layout again
  2. Name it: Features Grid
  3. Add sub-fields:
  • Section Title (Text), Width % 100
  • Section Subtitle (Textarea), Width % 100
  • Columns (Text: editors type 2, 3 or 4), Width % 50
  • Features (Repeater) with these sub-fields:
    • Icon (Image), Width % 20
    • Feature Title (Text), Width % 40
    • Feature Description (Textarea), Width % 40

#### Layout 3: Testimonials Carousel

  1. Click Add Layout again
  2. Name it: Testimonials
  3. Add sub-fields:
  • Section Title (Text), Width % 100
  • Background Color (Color Picker), Width % 50
  • Quotes (Repeater) with these sub-fields:
    • Quote Text (Textarea), Width % 100
    • Author Name (Text), Width % 33
    • Author Title (Text), Width % 33
    • Author Photo (Image), Width % 34

#### Layout 4: Video Section

  1. Click Add Layout again
  2. Name it: Video Section
  3. Add sub-fields:
  • Section Title (Text), Width % 100
  • Video URL (oEmbed), Width % 100
  • Caption (Text), Width % 100
  • Show Play Button Overlay (True / False), Width % 50

#### Layout 5: Call to Action Banner

  1. Click Add Layout again
  2. Name it: Call to Action
  3. Add sub-fields:
  • Heading (Text), Width % 100
  • Description (Textarea), Width % 100
  • Button Text (Text), Width % 33
  • Button URL (URL), Width % 34
  • Background Color (Color Picker), Width % 33

#### Setting Location Rules and Saving

  1. Scroll down to Location Rules
  2. Set: Post Template is equal to your Landing Page template, picked from the list of the page templates of your theme
  3. Click Publish Field Group (the button reads Update Field Group when you edit a group that already exists)

[Screenshot: the Flexible Content field editor showing five collapsed layouts — Hero Banner, Features Grid, Testimonials, Video Section, and Call to Action — each with a layout name and field count]

How Editors Build a Landing Page

Here is what a marketing team member does when creating a new campaign landing page:

  1. Create a new Page and select the “Landing Page” template
  2. Scroll down to the “Landing Page Builder” metabox
  3. Click Add Layout — a dropdown shows all five section types
  4. Select Hero Banner — the hero fields appear in an expandable card
  5. Fill in the headline (“Transform Your Workflow”), subtitle, upload a background image, set the overlay to Dark, enter button text and URL
  6. Click Add Layout again, select Features Grid
  7. Enter the section title (“Why Teams Choose Us”), select 3 Columns, then use the Features repeater to add feature cards with icons, titles, and descriptions
  8. Click Add Layout, select Testimonials
  9. Add 3-4 customer quotes with names, titles, and photos
  10. Click Add Layout, select Video Section
  11. Paste a YouTube URL for a product demo video, add a caption
  12. Click Add Layout, select Call to Action
  13. Enter the CTA heading (“Start Your Free Trial Today”), description, button text, URL, and pick a brand color for the background
  14. Review the page structure — 5 sections are now listed vertically
  15. Drag the Video Section above the Testimonials if it makes more sense that way
  16. Click Update to save

The page now has five distinct sections, each fully customized, in whatever order the editor chose.

Managing Sections in the Editor

ActionHow To Do It
Add a new sectionClick Add Layout and choose a section type from the dropdown
Reorder sectionsDrag a section by its header bar to move it up or down
Duplicate a sectionClick the duplicate icon on the section header (useful for creating similar sections quickly)
Remove a sectionClick the trash icon on the section header
Collapse a sectionClick the section header to toggle it open or closed (keeps the screen manageable)
Add the same type twiceChoose the same layout again — there is no limit. Two Hero Banners or three CTAs are valid

Layout Limits

The field group editor has no setting for a minimum or maximum number of sections, and no setting that limits how many times one layout can be used, so editors can add the same layout as often as they need. The exception is a Flexible Content field that already carries a maximum for the whole field, for example one imported from ACF: once it holds that many sections, the editor hides the buttons that add or duplicate a section.

Tips for Effective Flexible Content Design

  • Start with 4-6 layouts. Too many choices overwhelm editors. You can always add more later.
  • Name layouts clearly. Editors see these names in the dropdown. “Hero Banner” is better than “Layout 1.”
  • Put the guidance in the layout name. A layout has only a name, a key and its fields: there is no description or instructions box for a layout, so its name is the only hint editors get when they choose which section to add.
  • Set sensible defaults. If most CTAs use the same background color, set it as the default value so editors only change it when they want something different.

> What happens without PRO: Flexible Content is exclusively a PRO feature. Without it, you would need separate field groups for each section type and rely on your developer to hardcode the page structure. Editors cannot mix-and-match sections or control their order. Flexible Content is a PRO feature for content teams that build landing pages from sections.

> Good to know: Flexible Content layouts can contain any field type, including Repeaters and Groups. A “Testimonials” layout can have a Repeater inside it for multiple quotes. A “Hero Banner” layout can have a Group for “Button Settings” with text, URL, and color. The nesting possibilities let you model very complex page structures while keeping the editing experience organized.

> Common mistake: Creating too many layouts at once. Start with 4-5 that your team will actually use. After a month, ask your editors which section types they wish they had, and add those. Building 15 layouts on day one means most will go unused and clutter the dropdown.

—

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