wordpress plugins

ACF Theme Code

ACF Theme Code will automatically generate the code needed to implement Advanced Custom Fields in your themes!

plugin ACF Theme Code
5 out of 5 based on 1 user ratings.


Version: 1.1.1

ACF Theme Code is an extension for the awesome Advanced Custom Fields plugin.

When you publish, edit or update an ACF Field Group, the code required to implement each field is displayed for you in the Theme Code section at the bottom of the page.

The code is based on the ACF documentation and it's automatically updated to match the fields you have created. Use the clipboard icon to easily copy these code blocks and paste them into your theme to get you started and save loads of time!

Features include:Easily copy the code into your theme
Great for offline documentation
Based on the official ACF documentation
Field names and variables are automatically updated

Support for the following fields:Text
Text Area
File (Object, URL and ID return values)
Image (Object, URL and ID return values)
Select (single and multiple values)
True / False
Google Map
Date Picker
Colour Picker
Page Link (single and multiple values)
Post Object (single and multiple values)
Relationship (Object and ID return values)
Taxonomy (Checkbox, Multi Select, Radio Buttons and Select field types)

Upgrade to ACF Theme Code Pro
ACF Theme Code Pro generates code for all ACF Pro field types including the Clone, Repeater, Gallery and Flexible Content field.
ACF Theme Code Pro generates code for a range of popular 3rd party fields including the Font Awesome field and Image Crop Field.
Find out more about ACF Theme Code Pro

ACF version 4.4.7 or higher
ACF Pro version 5.4 or higher

Tags: acf, advanced custom fields, automation, php



Requires: 4.5.3 or higher
Compatible up to: 4.6
Last Updated: 1 day ago
Active Installs: 40+

Download URL