Cyber Monday / Black Friday Sale:
30% off all plugins until 2nd of December. Get all three and save over $100!

Develop WordPress Themes & Gutenberg Blocks way faster with

ACF Theme Code Pro

Save time & automatically generate the code required to implement Advanced Custom Fields in your WordPress themes.

Buy a Developer Licence


(Save $14 – normally $48 AUD!)

A premium add-on for ACF

The code you need, automatically generated

With ACF Theme Code the code required to implement your custom fields is conveniently displayed in a Theme Code section right below the Field Group settings.


  • Clipboard icons to easily copy code blocks into your theme
  • Field names and variables are automatically updated
  • Code generated is based on the official ACF documentation and includes escaping
  • Support for field return types and single/muliple value options
  • Great for offline ACF documentation

ACF Free, ACF Pro & 3rd party fields

Theme Code Pro generates code for all of these fields:


Location Rule

ACF Theme Code Pro can generate code for multiple location rules. This includes complex locations like Block, Options Page, Widget, Taxonomy, Comment, Attachment, Current User, and User Form.

Fast & Convenient

Blocks and
Options Pages

ACF Theme Code Pro also includes a handy Location Registration Tool tool that generates all the code you need to create your own ACF Blocks and ACF Options Pages.

“Work smarter, not harder! Great work on this ACF plugin!”

- Elliot Condon

Creator of Advanced Custom Fields

Version 2.5 released in April 2020

Works best with
  • Advanced Custom Fields Pro v5.8
  • Advanced Custom Fields Free v5.8
  • WordPress 5.4 & PHP 7

Try our FREE version

ACF Theme Code Plugin

Prefer to try before you buy?

Check out our free version of ACF Theme Code on

The free version supports all the field types included in Advanced Custom Fields (free).

Hi! We made this

The ACF Theme Code Plugin was created by Aaron & Ben, two WordPress developers based in Melbourne, Australia.

Theme Code Pro makes developers happy!

David McDonald

Freelance Web Developer

Great time saver - No more constantly referring to the ACF documentation for the right ACF code.

Matthew Heyes

Web Developer & WordPress Specialist

Awesome add-on for ACF - It will certainly speed up theme development.

Joel Eade

Website Designer

I'm going to use all the free time this plugin gives me to, I don't know, catch up on sleep!


WordPress Developer

I should have dropped the change a long time ago. AWESOME. Massive time saver. Wish I’d done it sooner.