ACF Theme Code Pro
Antivirus scan
Powered by ClamAV
✅ Verified clean
This product file has passed our security filters.
Want to run a fresh ClamAV scan right now? Takes a few seconds and shows scanner version, signature DB and live result.
This can take 5 to 30 seconds.
Clean file Threat detected
No threats detected in this file.
- File
- Size
- Scanned
- ClamAV
- Signature database
⚡ Powered by ClamAV
Scan could not be completed
Report product
If you detected an issue (broken file, malware, inappropriate content, etc.) let us know and we'll review it ASAP.
Sign in to reportNewer version out, or a problem?
About ACF Theme Code Pro
PHP code for your ACF fields without writing it by hand
Every new field that enters a theme forces someone to look up how to display it, what it returns and how to escape it before printing it. When that repeats across dozens of templates, the result changes from one developer to another and the code ends up uneven. ACF Theme Code Pro generates that code from your own field groups.
Where the code appears and how to copy it
The code appears in a Theme Code section right below the field group settings, so you see it while you design the field. Each block has a clipboard icon to copy it straight into your theme.
Field names and variables update automatically when you change them. The code follows the official ACF documentation and includes escaping, and fields with single or multiple values and different return types are covered.
- Ready-to-paste snippets for your templates.
- Escaping included in all the generated code.
- Also useful as an offline ACF reference.
Fields, locations and content types it covers
It generates code for complex location rules: blocks, options pages, widgets, taxonomies, comments, attachments, the current user, user roles and user forms.
It covers ACF Free and ACF Pro fields, such as groups, repeaters, flexible content, galleries, links, relationships or Google Maps, plus third-party fields like Gravity Forms, Ninja Forms, Contact Form 7 or TablePress.
The free version, available on WordPress.org, only covers the field types included in ACF Free, so ACF Pro fields are left out.
Blocks and options pages without registering them by hand
The location registration tool generates the code needed to create your own ACF blocks and options pages. With it you don't have to write that registration by hand.
Frequently asked questions about ACF Theme Code Pro
Do I need ACF to use it?
Yes. It is a plugin that generates code for your ACF field groups and fields, so Advanced Custom Fields has to be installed and active, either the free version or ACF Pro.
Does it also work with fields from third-party plugins?
Yes, with several of them, such as Gravity Forms, Ninja Forms, Contact Form 7 or TablePress. Each one needs its plugin active for the field to work.
Is the code it generates safe?
It includes escaping and follows the official ACF documentation, but it is worth checking what each field type returns before using it in the template.
For themes with ACF already in place and a lot of repeated code
Groups, repeaters and nested fields are where most code gets written by hand, and that is where most time is saved.
As the theme grows, the advantage is that all the code follows the same approach.
Version history
-
v
2.5.6 Current 8 Jan 2025
Customer reviews
Sign in to leave a review. Only people who have the product can review it.
No reviews for this product yet.
Frequently asked questions
-
GPL (General Public License) is the license under which WordPress and most premium plugins/themes are distributed. It grants you the right to use, modify and redistribute the software in as many projects as you want, with no domain restrictions.
-
Yes. With membership you get automatic updates via our GPLClub Updater plugin (installed on your WP, detects new versions and applies them). With individual purchase, you get one year of manual updates from your account.
-
Depends on the plan. Monthly: 3 domains. Semi-annual: 7. Annual and Lifetime: 15. Individual purchase: 1 domain.
-
GPLClub offers its own support for installation, configuration and compatibility. For direct support from the original author (feature requests, product-specific bugs), a license purchased from the author is required.