Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

How We Automated Migrating Thousands Of Blog Po...

How We Automated Migrating Thousands Of Blog Posts From ACF Flexible Content To The Block Editor

Before the introduction of the block editor, the Advanced Custom Fields flexible content field was one of the main ways developers could build custom layouts while giving clients control over the content. While the introduction of the block editor in WordPress 5.0 was rocky initially, it wasn't long before it offered a far more powerful experience than the flexible content field could provide. But what do you do when you want to move to the block editor on a website already has thousands of posts? Learn how we were able to automate the process with just a few lines of code.

https://webdirections.org/enqueue/speakers/cameron-jones.php

Avatar for Cameron Jones

Cameron Jones

November 27, 2025
Tweet

More Decks by Cameron Jones

Other Decks in Technology

Transcript

  1. How We Automated Migrating Thousands Of Blog Posts From ACF

    Flexible Content To The Block Editor Cameron Jones
  2. Why Migrate To Blocks Core Blocks & Settings • Extensive

    number of core blocks including multi column layouts • Built in utility classes for padding, margin, borders, colour scheme and more • Actual WYSIWYG
  3. Why Migrate To Blocks Plugin Compatibility • Instantly add gazillions

    of new content blocks • Using the same editor as core
  4. Why Migrate To Blocks Flexibility & Recursion • Block variations

    and styles • Nested blocks • Block patterns & templates • Block parent/child relationships & locking • Easy to build new blocks with ACF
  5. The Brief About The Site Site originally built in 2015

    Niche blog (mostly listicles) Undergoing redesign Over 2,000 articles Handful of pages - recreated manually Important Context Not involved in original build Site under new ownership No longer working with client Content is fake, code is real
  6. How Did We Migrate 1. Map 2. Convert 3. Automate

    4. Scale 5. Polish 6. Cleanup
  7. About Me Cameron Jones Shortie Designs Websites and software for

    local, national and international brands