Implement Advanced Custom Fields (ACF / SCF) support

Created on 27 November 2024, 5 months ago

Problem/Motivation

Advanced Custom Fields (ACF by WPEngine) and Secure Custom Fields (SCF) which is now administered by an internal team, are widely used in millions of WordPress sites. We would like to offer these site admins and owners an alternative option that saves their data fields.

We should have a way to get ACF fields into Drupal sites whether selectively or entirely in full. This could be based on scanning the XML file, a form for manual input, or other methods.

The Craft CMS WP Import project has a large set of ACF implementations (MIT license) which could be very helpful for parsing.

We would want the ACF field import to follow the "pluggable" structure that is in the works here: ✨ Support contrib wordpress data / custom data | Yoast SEO Needs review . Some of our volunteer contributors has already mentioned experimenting with ACF imports!

Proposed resolution

Some type of valid import for ACF / SCF

Remaining / possible tasks

  • Determine if it can be read from XML file, or defined in another way, or both.
  • Possibly change YML files
  • Possibly change how this module works in other ways, eg "plugin derivers"
  • Alter the wizard steps to cover adding ACF / SCF fields
  • Add test suite and test XML files for parsing.

User interface changes

Additional wizard step pages, or including them on the ones that exist per content type / post / page. See ✨ Implement custom post type support Active regarding custom post type forms.

API changes

Depends on pluggable patch, and possibly other config changes.

Data model changes

Could change config entities or similar.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hongpong Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024