Web Design

ACF Blocks Explained: When They Beat a Page Builder and How to Build One Properly

ACF blocks let your team edit pages in WordPress without a page builder. Learn when they're worth it and how to build one, or tell us about your project.

ACF Blocks Explained: When They Beat a Page Builder and How to Build One Properly

ACF blocks are custom blocks for the WordPress editor, built with Advanced Custom Fields PRO. Your team fills in simple fields, such as a heading, an image or a list of testimonials, and the block handles the design. They give editors freedom without letting anyone break the layout.

We design and build WordPress websites ourselves, and custom blocks are how we build them. If your site runs on a page builder and editing it has become a chore, tell us about your project.

This guide covers what ACF blocks are, when they're worth it, how to build one step by step, and the mistakes that make blocks a pain to edit.

What Are ACF Blocks?

ACF stands for Advanced Custom Fields, a WordPress plugin that adds extra fields to your pages and posts. ACF blocks are a feature of the paid version, ACF PRO.

An ACF block is a block you design for your own site. A developer decides which fields it has and how it looks. Your team then adds it to a page in the normal WordPress editor and fills in the fields.

How They Differ From Ordinary Blocks

WordPress's own blocks are general tools: a paragraph, an image, a set of columns. An ACF block is made for one job on your site, such as a pricing table or a team section. It always matches your design, however it's filled in.

Why Developers Like Them

ACF's documentation says its blocks use a PHP framework, so developers don't need the JavaScript or React knowledge that native WordPress blocks call for. Each block is rendered with a PHP template, which gives full control over the HTML.

Why Businesses Choose ACF Blocks Over a Page Builder

Page builders promise freedom. Anyone can drag sections around and change any setting. In practice, that freedom is the problem.

What a Page Builder Really Costs You

A page builder loads its own code on every page, whether you use it or not. Pages get heavier and slower. Layouts drift as different people tweak spacing and fonts. And because your content is wrapped in the builder's own code, leaving it later means rebuilding pages by hand.

Elementor and similar builders give you a site that looks okay on launch day. They fall short once real people start editing it week after week.

What Custom Blocks Give You Instead

With ACF blocks, your team gets a small set of sections made for your pages. They can add a testimonial block, swap an image or reorder sections. They can't break the design, because the design lives in the block, not in the editor.

That's how we approach WordPress web design: a set of custom blocks made for your pages, with no page builder underneath. If you're weighing up platforms first, our guide on why we build on WordPress explains the reasoning.

ACF Blocks vs Native Blocks vs Flexible Content

There's more than one way to give editors custom sections in WordPress. Here's how the main options compare.

OptionBuilt withBest for
ACF blocksPHP templates and ACF fieldsBusiness sites with a set of branded sections
Native blocksJavaScript and ReactBlocks with heavy interaction inside the editor
ACF flexible contentACF fields on a fixed page layoutOlder themes that don't use the block editor

ACF Blocks vs Native Blocks

Native blocks are written in JavaScript and React. They suit blocks with lots of interaction inside the editor itself. For most business sites, that's more work than the job needs. ACF blocks get you a similar editing experience with far less code to look after.

Where a site needs something more involved, like a custom plugin or tool, that's custom plugins and software territory rather than a single block.

ACF Blocks vs Flexible Content

Flexible content keeps editors inside one fixed page layout made of ACF fields. It works, but editors don't see a live preview while they edit. ACF blocks show the design inside the editor and sit happily alongside WordPress's own blocks.

How to Build an ACF Block, Step by Step

This walk-through follows ACF's own documented approach. It assumes you control the theme or a plugin on the site.

What You Need

You need ACF PRO, because blocks aren't in the free version. Our guide to ACF Pro or the free version explains the difference. You also need a theme or plugin where you can add code.

Register the Block With block.json

Each block lives in its own folder. Inside it, a `block.json` file sets the block's name, title and settings. You then register the folder with WordPress's `register_block_type()` function. ACF's documentation says the main features of any ACF or WordPress block are defined in `block.json`.

Add a Field Group

Create a field group in ACF with the fields the block needs, such as a quote, a name and a photo. Then use ACF's location rules to assign the field group to your block.

Write the Template

The template is a PHP file that outputs the block's HTML. You load values with `get_field()`, just as you would in a normal theme. For repeating content, such as a list of features, a Repeater field and `have_rows()` work too.

Style It and Check the Preview

Add a stylesheet in the same folder. ACF shows a live preview as you edit, so check the editor view matches the live page. If the two drift apart, editors stop trusting what they see.

Go Further With InnerBlocks, Variations and Styles

ACF blocks support the same features as WordPress's own blocks, including InnerBlocks, variations and styles. InnerBlocks lets a block hold other blocks inside it, such as a card with its own heading and buttons.

Mistakes That Make ACF Blocks a Pain to Edit

Most problems with ACF blocks come from how they were built, not from ACF itself.

No Defaults or Fallbacks

If a block breaks when a field is empty, editors will avoid it. Every field needs a sensible default, and the template should cope with missing content.

Inline Styles and One-Off Blocks

Styles written into the template make blocks hard to change later. So does building a new block for every page. A small library of well-made blocks beats dozens of one-offs.

Fields That Don't Travel

ACF can save field groups as files in an `acf-json` folder in your theme. Skip that, and fields get lost or out of step between your test site and the live one.

Blocks That Don't Show Up

A common question on developer forums is why a new block doesn't appear in the editor. Usually the block name in `block.json` is missing its namespace, or the folder path in `register_block_type()` is wrong.

Want a WordPress Site Built on Blocks Your Team Can Edit?

If your site runs on a page builder, or your editors struggle with it, we can help.

Our WordPress web design starts with your page designs. We plan a block library around them and build each block ourselves. We move your content off the page builder and set up redirects so you keep your rankings. You own the code.

We're one team based in Leicestershire, working with businesses across the UK. Business websites cost £2,000–£6,000 + VAT and bespoke websites £6,000–£15,000 + VAT. We agree a written scope and a fixed price before we start.

Tell Us How Your Site Is Built Now

Whether you're stuck with a page builder or starting fresh, we'll plan the blocks your team needs. Have your WordPress site built on custom blocks, or tell us how your site is built now.

Share this article

Questions

Start a project
Do ACF Blocks Need ACF PRO?

Yes. ACF blocks are a feature of ACF PRO, the paid version of Advanced Custom Fields.

Do I Need to Know React to Build ACF Blocks?

No. ACF blocks use PHP templates, so a developer who knows WordPress themes can build them without React.

Can ACF Blocks Contain Other Blocks?

Yes. With InnerBlocks, an ACF block can hold other blocks, such as headings, buttons or images.

How Does a Project to Move Off a Page Builder Start?

It starts with a first call about how your site is built now and what your team needs to edit. We then plan the blocks from your page designs.

Who Owns the Website and the Blocks?

You do. You own the site, the theme and the code for every block we build.

How Long Does It Take to Rebuild a Site With ACF Blocks?

It depends on how many page types and blocks your site needs. We set out the plan in the written scope before we start.

Start a project

Want us to do this for you?

Tell us what you need and we'll come back with a plan and a fixed price agreed in writing before we start.

Ready to talk about your project?

Web design, SEO, PPC, Facebook ads and bespoke software from one UK team.