Generally Available
Launch Mode
CodeWP AI mode


Advanced Custom Fields enables you to easily create custom fields and metaboxes in WordPress. With CodeWP, you can leverage chat and code modes to deeply customize ACF.

The chat mode provides guidance on field types, layouts, conditional logic, data storage, and filters. You can understand how to build custom field groups, display data, and integrate ACF everywhere.

The code mode generates PHP snippets to create field groups, display fields, save/load values, implement validation, modify UI, and customize default ACF behavior.


CodeWP offers an AI assistant for explanations, AI code generation, verified snippets library, and tutorials to customize WordPress sites using Advanced Custom Fields.



Example Prompts, Packages, and Snippets

AI Prompt Examples for ACF
Example prompt ideas for this CodeWP AI mode.
PHP code to create an ACF field group with a repeater field for testimonials containing a text field and image field
a hook to save ACF field data to a custom table when a post is published
code snippet to display an ACF relationship field value on the front-end
function to conditionally show an ACF field group if another field is filled using ACF conditional logic
The conversational CodeWP chat mode enables intuitive assistance with any aspect of Advanced Custom Fields. You can ask how to build field groups, display fields, implement validation and conditional logic, save data, create custom layouts, integrate with Gutenberg, and more. Simply describe what you want to accomplish in plain language and CodeWP will provide tailored ACF code snippets, detailed explanations, and guidance to meet your needs. The natural language interface makes it easy to learn best practices and implement precise customizations using ACF.
This mode is only available for pro and agency plans.
Sign up for CodeWP to use it ->

Getting Started

To get started with the ACF Mode, simply select the ACF Mode from the dropdown menu in the Code and Chat UIs. You can then begin generating code or asking questions.

You can also select ACF Mode on the "Create New" screen.
Make WordPress Easy With AI
© WPAI, Inc. 2024 | d.b.a CodeWP