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. Video note: This free version of ACF Theme Code now supports ACF 6. Features 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. Repeater 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: Text Text Area Number Range Email 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 Group Requirements 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. Translations 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.
Top keywords
- code22×4.07%
- acf16×2.96%
- types15×2.77%
- theme13×2.40%
- theme code12×2.22%
- return11×2.03%
- return types11×2.03%
- field10×1.85%
- acf theme9×1.66%
- acf theme code9×1.66%
- fields9×1.66%
- array8×1.48%
Repeater2Template Widget for ACF Repeater and Elementor
⚠️ Requires Elementor Pro Tired of ACF Repeater fields that won’t cooperate with Elementor? Repeater2Template fixes that — instantly. Connect any repeater data source to any Elementor template and watch every row render exactly how you designed it. No PHP. No shortcodes. No workarounds. Whether you’re working with ACF Repeater fields, a raw JSON array, or a live API endpoint — this widget loops through your data and outputs each item using your own Elementor saved template. Full design control, fully native experience. 🎥 See It In Action: 💡 Key Features 🔌 3 data sources, one widget — ACF Repeater, JSON Array, or live data from any JSON URL / API. 🎨 Design freedom — pick any Elementor Pro saved template to render each row your way. 🗂 Flexible ACF sources — current post, any specific post by ID, or a global ACF Options Page. 🏷 Subfield-to-dynamic-tag mapping — keeps your templates clean, reusable, and truly dynamic. 🌐 Live API rendering — inject dynamic parameters into JSON URLs for real-time, context-aware content. 🔢 Row limit control — display only a set number of items from any data source. ✅ 100% no-code — built entirely inside Elementor. If you can drag a widget, you can use this. 🔁 Flexible ACF Data Sources Real-world projects rarely keep all data tied to the current post. That’s why Repeater2Template supports three ACF source types: Current Post → repeater data tied to the page being viewed. Specific Post (by ID) → use any post as a centralized “data hub” — reuse it across unlimited templates without duplication. Options Page → pull from any registered ACF Options Page for global content like team sections, banners, menus, or footers. Centralize once. Reuse everywhere. 🌐 JSON Array & JSON URL — No ACF Needed Not an ACF user? No problem. Repeater2Template handles raw JSON just as powerfully. Two JSON modes: JSON Array — paste your data directly into the widget. Instant, portable, zero setup. [ { “title”: “Book A”, “author”: “Author X”, “image”: “https://example.com/book1.jpg” }, { “title”: “Book B”, “author”: “Author Y”, “image”: “https://example.com/book2.jpg” } ] JSON URL — fetch live data from any internal or external API endpoint. Supports dynamic URL parameters (post ID, category, user meta, and more). Perfect for product feeds, API-driven testimonials, blog lists, or user-specific content. The plugin parses the response automatically and renders each object using your Elementor template. Example: https://api.example.com/books?category=fiction&user_id={{user_id}} ⭐ What Builders Are Saying “Extremely simple and yet so powerful!” — davidedev “Saves tons of time and just works — super intuitive!” — akhileshtenguriya “This is literally a gem. All must try this.” — mairaaah “The support went the extra mile. Excellent plugin.” — indyparker 5 out of 5 stars — every single review. How It Works Step 1: Design Your Item Template Go to Templates → Saved Templates → Add New. Choose Section or Container. Design one item — a team card, a testimonial block, a product tile, anything. Save the template. Step 2: Drop In the Widget Open your page in Elementor. Search for Repeater2Template and drag it onto the canvas. Select your data source: ACF Repeater — pick your field by key or name. JSON URL / Array — paste your JSON or enter a URL. Step 3: Connect & Done Select the Elementor template from Step 1. The widget loops through every item and renders each one using your template — automatically. No PHP. No shortcodes. No headaches.