ACF Theme Code for Advanced Custom Fields
The ACF Theme Code plugin automatically generates the code needed to implement Advanced Custom Fields in your themes.
Utiliser avec prudence
ACF Theme Code for Advanced Cus… works, but test it on a staging site before relying on it in 2026. It runs on 9K+ sites, is rated 5/5 and was last updated 3 years ago, and scores 46/100 on our health check.
- Loved by users — 5/5 from 42 reviews
- Momentum — downloads up 52.6% vs the previous 30 days
- No update in 2 years
- Only tested up to WordPress 6.4 (latest is 7.1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where ACF Theme Code for Advanced… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| ACF | >100 |
| advanced custom fields | >100 |
| automation | >100 |
| php | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 5 from 42 reviews
About ACF Theme Code for Advanced Custom Fiel…
From the official readme · v2.5.6Description
The ACF Theme Code plugin automatically generates the code needed to implement Advanced Custom Fields in your themes.
Video note: This free version of ACF Theme Code now supports ACF 6.
Traits
Reduce your development time.
- When you publish, edit or update an ACF Field Group, the code required to implement your fields is displayed in the Theme Code section at the bottom of your Edit Field Group page.
- Use the clipboard icons in this section quickly copy and paste the code blocks into your theme templates.
Quality, flexible, custom code.
- The code generated by Theme Code Pro is based on the official Advanced Custom Fields documentation and includes escaping for secure output.
- All code generated has been thoroughly tested and is created with speed and flexibility of implementation in mind.
Comprehensive field support
- This version of ACF Theme Code generates code for all the field types included in the free version of Advanced Custom Fields (see the full list of field types and settings below).
- The code generated is specific to the field names and field settings you use for each of your fields.
ACF Theme Code PRO
ACF Theme Code PRO is the premium version of this plugin. It has the following additional features.
- Support for all the complex field types that are included in Advanced Custom Fields PRO.
- Répétiteur
- Flexible Content
- Gallery
- Clone
- The addition of a Theme Code Location Registration Tool to the ACF Tools page that generates code for registering locations.
- Blocks
- Options Pages
- Support for more complex ACF Field Group Locations.
- Block
- Options Page
- Widget
- Taxonomy
- Comment
- Attachment
- Current User
- User Form
- Support for a range of third party fields.
Upgrade or learn more about ACF Theme Code PRO.
ACF fields supported
This free version of ACF Theme Code generates code for the following ACF field types and settings:
- Texte
- Text Area
- Number
- Range
- URL
- Password
- Image (return types Array, URL and ID)
- File (return types Array, URL and ID)
- WYSIWYG Editor
- oEmbed
- Select (values Single and Multiple, return types Value, Label and Array)
- Checkbox (return types Value, Label and Array)
- Radio Button (return types Value, Label and Array)
- Button Group (return types Value, Label and Array)
- True / False
- Link (return types Array and URL)
- Post Object (values Single and Multiple, return types Post Object and Post ID)
- Page Link (values Single and Multiple)
- Relationship (return types Post Object and Post ID)
- Taxonomy (appearances Checkbox, Multi Select, Radio Buttons and Select, return types Term Object and Term ID)
- User (values Single and Multiple, return types User Array, User Object and User ID)
- Google Map
- Date Picker
- Date Time Picker
- Colour Picker
- Groupe
Obligations
- Advanced Custom Fields or ACF PRO (version 5.8.9 or higher)
Thank you
Thanks to all of our beta testers. Including Elliot Condon, Phil Smart, Richard Johnston and James Bundey.
Traduction
Would you like to use the ACF Theme Code plugin in your native language? Then why not contribute a translation via translate.wordpress.org.
If you are new to translating plugins, there is a helpful First Steps guide available.
View the current state translations for ACF Theme Code.
Any and all assistance with translations is greatly appreciated. Please let us know if you need any help with submitting translations.
Installation
À partir de votre tableau de bord WordPress
- Visit Plugins > Add New.
- Search for “ACF Theme Code”.
- Activate ACF Theme Code for Advanced Custom Fields from your Plugins page.
- Publish, Edit or Update an ACF Field Group.
- Scroll down the Edit Field Group page to the Theme Code section to see the code generated.
Journal de modifications
2.5.6
- Compatibility with WordPress 6.4
2.5.5
- Add new stylesheet to integrate all components with ACF 6
- Update scroll to code functionality to support ACF 6
2.5.4
- Add support for ACF 6
2.5.3
- Add full support for localization (i18n)
- Please let us know if you’re interested in helping translate ACF Theme Code into your language.
2.5.2
- Compatibility with WordPress 5.8.0
- Fix CSS and JS enqueue bugs
2.5.0
- Improve support for WordPress 5.4.
- Improve support for all field types included in ACF PRO 5.8.9 (including all their various settings).
- Improve codebase by syncing both free and pro foundations to facilitate faster development cycles and future features.
- Add escaping to code rendered to bring it in line with recent updates to ACF field documentation. See https://twitter.com/wp_acf/status/1181344882775875584.
- Add ‘Copy All’ fields button (previously only Theme Code Pro feature).
- Add various enhancements to code rendered for the following fields and field settings:
- Gallery field (return types Array, URL and ID)
- Image (return types Array, URL and ID)
- File (return types Array, URL and ID)
- Select (values Single and Multiple, return types Value, Label and Array)
- Checkbox (return types Value, Label and Array)
- Radio Button (return type Array)
- Button Group (return type Array)
- True / False
- Link (return types Array and URL)
- Post Object (values Single and Multiple, return types Post Object and Post ID)
- Page Link (values Single and Multiple)
- Relationship (return types Post Object and Post ID)
- Taxonomy (appearances Checkbox, Multi Select, Radio Buttons and Select, return types Term Object and Term ID)
- User (values Single and Multiple, return types User Array, User Object and User ID)
- Google Map
- Add Location UI and move location related upgrade notice to code block
- Fix issue with location related upgrade notice where it wouldn’t show if only Options location was selected.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best ACF Theme Code for Advanced C… alternatives
Tous les plugins ACF →FAQ
ACF Theme Code for Advanced Custom…: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is ACF Theme Code for Advanced Cus… free?
Yes. ACF Theme Code for Advanced Cus… is free to download and use from the official WordPress.org plugin directory. The developer also sells premium add-ons or a Pro version with extra features.
Is ACF Theme Code for Advanced Cus… safe to use in 2026?
ACF Theme Code for Advanced Cus… works, but test it on a staging site before relying on it in 2026. It runs on 9K+ sites, is rated 5/5 and was last updated 3 years ago, and scores 46/100 on our health check.
How many websites use ACF Theme Code for Advanced Cus…?
ACF Theme Code for Advanced Cus… is active on 9K+ WordPress websites and has been downloaded 154,809 times since it launched in July 2016. It was downloaded 897 times in the last 30 days.
Does ACF Theme Code for Advanced Cus… work with WordPress 7.1?
ACF Theme Code for Advanced Cus… is officially tested up to WordPress 6.4.15, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does ACF Theme Code for Advanced Cus… need?
ACF Theme Code for Advanced Cus… requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was ACF Theme Code for Advanced Cus… last updated?
The latest version, 2.5.6, was released on November 28, 2023 (3 years ago).
Who makes ACF Theme Code for Advanced Cus…?
ACF Theme Code for Advanced Cus… is developed and maintained by Aaron Rutley.
What are the best alternatives to ACF Theme Code for Advanced Cus…?
The most popular alternatives to ACF Theme Code for Advanced Cus… are Advanced Custom Fields (ACF… (2M+ installs), ACF Content Analysis for Yo… (100K+ installs) and Advanced Custom Fields: Ext… (100K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit

