Blocks for ACF Fields
Blocks for ACF Fields lets you effortlessly load and display Advanced Custom Fields (ACF) or Secure Custom Fields (SCF) inside the WordPress block editor using a single, flexible block. Whether you’re dealing with text, images, URLs, or complex field types, this plugin makes it simple — all without writing a single line of code. How to Use it Just create your custom fields with the ACF or SCF plugin, then open the WordPress block editor. Add the “ACF Field” block to your page or template, select the field you want to display from the dropdown, and you are done! Your custom field will now appear right inside the editor, exactly where you want it. Want to see it in action? Watch the short demo video below to learn how it works in real time. Features No Code Needed – Display your ACF & SCF fields directly in the editor without building a custom block. One Block for All Fields – Load almost any field type using just a single, versatile block. Smart Field Picker – No need to type field names. Choose from a dropdown that automatically shows only the ACF & SCF fields available for the post, page, or template you’re editing. Flexible Output Control – Style and format your field values directly in the editor, with output that always works correctly regardless of the field’s return setting. Works With Most Field Types – From plain text and numbers to images, links, embeds, dates, and icons — most commonly used ACF/SCF field types render right out of the box. Supports All Field Locations – Works with post fields, options pages, term fields, and user fields. Full Site Editing Ready – Fully compatible with the WordPress Site Editor for building custom templates and theme parts. Dynamic Layouts Ready – Seamlessly works inside Query Loops and reusable patterns for dynamic layouts. In addition to choosing which field to display, you also have control over how it appears. Text-based fields (including multiple-value fields like Select or Checkbox) can be shown as plain text or formatted with typography options. Image fields can be displayed as actual images with the same styling options as core Image blocks. For URL-return fields (such as Link or Post Object), you can render them as clickable buttons that automatically match your theme’s design. Where Your Fields Come From You also have control over where your fields are sourced from, making it easy to connect content dynamically based on the template you’re editing. Post (any post type) – Load fields attached to the post you’re currently editing, whether it’s a post, page, or any custom post type. Option – Pull global option fields, perfect for site-wide settings like logos, contact info, or social links. User – Display fields attached to a user profile. Available when editing author templates, making it easy to showcase author bios, avatars, or custom user data. Taxonomy – Load fields attached to taxonomy terms. Available when editing term archive templates, ideal for creating custom category, tag, or taxonomy layouts. Full documentation and usage guides are available at: https://www.acffieldblocks.com/documentation/ PRO Version – Unlock the Full Power of ACF & SCF Love the free version? PRO works exactly the same way — pick a block, pick a field, and you’re done. Nothing you’ve already learned changes. PRO simply gives you more to pick from: more supported field types, more layout options, and new ways to choose where your content comes from. Sooner or later you’ll hit a field the free version can’t display on its own — a Repeater, a Gallery, a list of related posts, an interactive Map, or a nested Group. Normally that’s where the fun stops and the PHP begins. PRO lets you build all of it right in the editor instead. Here’s what you get: Support for Advanced Field Types (no PHP required) Repeater – Turn repeater rows into a styleable layout you compose right in the editor. Each sub field becomes its own block, styled with the controls you already know. Display rows as a List, Grid, Carousel, Accordion, or Tabs. Gallery – Render gallery fields as a Grid, Masonry, or interactive Carousel, complete with a built-in lightbox and responsive options for different screen sizes. Group – Access and display sub fields inside group fields individually, no matter how deeply nested. 20+ Advanced Display Formats PRO doesn’t just add new field types — it unlocks powerful new ways to render the fields you already have. Post Object & Relationship – Display as dynamic post loops (List, Grid, or Carousel), similar to the Query Loop block, with the ability to load custom fields within each post. Also supports Single Post display — perfect for related posts sections and featured post displays. Taxonomy – Render as term loops (List, Grid, or Carousel) with access to custom fields on each term, plus Single Term display. Ideal for flexible category, tag, or custom taxonomy layouts. User – Display as user loops (List, Grid, or Carousel) with custom fields for each user, plus Single User display. Great for user directories, contributor listings, and team pages. Google Map – Display ACF Google Maps fields as an interactive map with custom markers and styling. Perfect for store locators, event venues, or property listings. Embed Popup – Show an oEmbed or URL field inside a lightbox popup that only loads on click — rich media without slowing your pages down. Dynamic Field Sources Lite blocks always read from the current post, term, user, or an Options Page. PRO frees them: Specific Post / Term / User – Pin a block to an entity you hand-pick at edit time. Build an editorially-chosen “Featured Page” promo or an “About the Founder” panel that lives anywhere and updates from a single source. URL Parameter – Let the URL decide the entity at render time. One /profile/ template can serve every user via ?uid=42, ?uid=99, and so on. Optional Match Rules validate the URL value as a Post ID, Post Slug, User ID, Username, Email, Term ID, or Term Slug — so one template powers profile pages, dynamic landing pages, and review tools without registering a custom route. Block Visibility by ACF / SCF Value Show or hide any block — not just ACF blocks, but every Group, Heading, Cover, and third-party block — based on the value of an ACF or SCF field. Build the rules visually in the block sidebar: pick a field, pick a comparison, give it a value. Combine multiple rules with AND (within a group) and OR (across groups), the same shape ACF’s own conditional logic uses. Rules are evaluated server-side at render time, so hidden blocks emit no HTML at all — no empty wrappers, no client-side flash. In the editor, every block stays visible so you can keep editing. Start with the free version, build what you can, and upgrade only when you hit a wall. PRO is a standalone plugin — installing it automatically deactivates Lite to prevent conflicts, and your existing blocks, content, and field configuration are preserved. Click here to learn more about PRO version
Top keywords
- fields28×2.41%
- field24×2.07%
- post17×1.46%
- block16×1.38%
- custom15×1.29%
- display15×1.29%
- acf13×1.12%
- user13×1.12%
- editor9×0.78%
- term9×0.78%
- pro8×0.69%
- scf8×0.69%
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.