Creating a ACF Flexible Block Layout

If you want more control over how your WordPress pages are structured, the Flexible Content Field in ACF is a powerful solution that gives you exactly that. It works like a custom layout builder, allowing you to create and arrange different content blocks such as hero sections, image galleries, testimonials, services, and more, all directly from the WordPress admin panel without writing any code.

With Dynific Addons for Elementor’s ACF Flexible block layout, you can take this flexibility even further by designing each layout visually using Elementor and displaying it dynamically on the frontend.

It means you can create any type of layout for your website, reuse it across multiple pages, and manage all content easily from the backend.

Steps to Create a ACF Flexible Block Layout

Here are the steps that lets you start using the ACF Flexible layout.

Step 1: Create ACF Flexible Content Fields

First, you need to create a Flexible Content field in ACF.

  • Go to ACF → Field Groups → Add New
  • Add a Flexible Content field type.
  • Now add two layouts:
    • Layout 1: Hero Section
      Add fields like:
      •  Title 
      •  Description 
      •  Button Text 
      •  Background Image
    • Layout 2: Services Section
      Add fields like:
    •  Service Title 
    •  Service Description 
    •  Service Image
  • After that set Location Rules to Page / Post (as needed) and publish the field group.
Creating Flexible Content Field in ACF
Creating Flexible Content Field in ACF

Step 2: Add Fields Data in the Page

  • Open the page where you assigned the ACF field 
  • You will see the Flexible Content fields, click on Add Row button.
  • Now, fill the required details for each field.
Add Flexible Fields Data to Page
Add Flexible Fields Data to Page

Step 3: Create ACF Flexible Block Template

Now create a template in Dynific Addons:

  •  Go to Dynific Addons → Templates → Add New
  •  Choose ACF Block Repeater/Flexible Template
Creating ACF Flexible Block Layout
Creating ACF Block Flexible Layout
  • Next, configure the template settings:
    • Post Type: Page 
    • Field Location: Post/Page 
    • Field Type: Flexible Content 
    • Preview Post: Select your created page 
    • Page Layout: Default 
    • Flexible Field: Select your ACF field 
  • Click Edit with Elementor.
Configure ACF Block Flexible Layout Settings
Configure ACF Block Flexible Layout Settings

Step 4: Design Layouts Using Dynific Addons

Now you will design each layout (Hero & Services) separately.

  •  Drag and drop ACF Fields V2 widget
  •  Use it to display dynamic data 
  • Then, configure the widget settings as:
    • Field Type: Image / Text (based on field) 
    • Source: Post Field 
    • Parent Field Type: Flexible Field 
    • Parent Field: Select your parent flexible field. 
    • Sub Field: Select specific field for data you want to display.

Repeat these steps for each fields and layouts. This setting ensures data is pulled from the correct flexible layout.

Design Hero Layout for Flexible Template
Design Hero Layout for Flexible Template
Design Services Layout for Flexible Template
Design Services Layout for Flexible Template

Step 5: Display Layouts on the Page

Now you will display everything on the frontend.

  •  Open your page with Elementor
  •  Drag ACF Flexible Content widget.
  • Now, configure the Widget by
    •  Selecting your Flexible Field
    • Then, click on Add item option and
      •  Choose layout (Hero / Services) 
      •  Select the template you created
Display Flexible Layout on Page Using ACF Flexible Content Widget
Display Flexible Layout on Page Using ACF Flexible Content Widget

Step 6: Preview Your Flexible Layout

Once you have designed all layouts and added them to your page, it’s time to preview how everything looks on the frontend.

  •  Click Update / Publish on the page 
  •  Open the page in a new tab or click Preview
  •  You will see all your layouts (Hero, Services, etc.) displayed on the page 

The layouts will appear in the same order as you added them in the ACF Flexible Content field.

If you make any changes:

  •  Update the content in the page → it will reflect automatically 
  •  Update the template design → changes will apply everywhere the layout is used
Preview the ACF Block Flexible Layout
Preview the ACF Block Flexible Layout