Antwork

antwork.fr/switch-from-acf-theme-code

Switching from ACF Theme Code

ACF Theme Code and ACF Theme Code Pro, by Hookturn, show the PHP that displays your ACF fields. Antwork Field Code does the same job for ACF and Secure Custom Fields, and its Pro adds Repeater, Flexible Content, Gallery, Clone and options pages. Here is how they compare, what moves over and what does not.

At a glance

ACF Theme Code and ACF Theme Code ProAntwork Field Code and its Pro
Latest versionFree 2.5.6, updated 28 November 2023; Pro 2.5.6Free 1.1.0 and Pro 1.0.1, November 2026
Tested up toWordPress 6.4 (free version, WordPress.org)WordPress 7.1 (free version, WordPress.org)

Figures from WordPress.org and hookturn.io, checked on 1 November 2026.

Feature by feature

FeatureACF Theme CodeAntwork Field Code
Field types of free ACF, Time Picker includedFreeFree
Repeater, Flexible Content, Gallery, CloneProPro
Field groups on posts and pagesFreeFree
Options pages, taxonomy terms, user forms, comments, attachments, widgetsProPro
ACF Block locationProNot covered
Current user location ruleProNot covered
Code to register ACF blocks and options pagesProNot covered
Third-party field typesProNot covered

If your theme relies on the last four rows, keep ACF Theme Code Pro for those field groups.

How to switch

  1. Install and activate Antwork Field Code from WordPress.org: Plugins > Add New, search for "Antwork Field Code".
  2. Deactivate ACF Theme Code. Open any field group: the Field Code box under its settings shows the code for each covered field, and "All fields" gives the whole template.
  3. For Repeater, Flexible Content, Gallery, Clone and options pages, add the Pro: $49 a year before VAT, unlimited sites.

The snippets already in your templates call ACF's own functions, such as get_field() and the_field(), so they keep working after the switch: a code generator is only needed while you write templates.

Get Antwork Field Code on WordPress.org See what the Pro adds

ACF Theme Code and ACF Theme Code Pro are products of Hookturn. Antwork is not affiliated with or endorsed by Hookturn, Advanced Custom Fields or Secure Custom Fields.