ACF Basic Template Tags»
Simple template tag; no conditional.
ACF | Type: PHP
ACF Images: ID»
By using the ID, you can retrieve any crop size of the image and even get the name of the file!
ACF | Type: PHP
ACF Images: Image Array»
Select'Image Object' option to access an array of image attributes. Useful for thumbnail support.
ACF | Type: PHP
ACF Option for ‘Very Simple’ WYSIWYG Toolbar»
ACF add very simple wysiwyg toolbar option (functions.php).
ACF | Type: PHP
ACF Pro Site Options»
For some reason, this HAS to be added to functions.php; MU plugin does not work.
ACF | Type: PHP
ACF Random Image Repeater»
Example shows creating random background image for header.
ACF | Type: PHP
ACF Repeater Conditional»
Conditional based on having field values
ACF | Type: PHP
ACF Repeater Gallery (Image Array)»
This example shows a full page width, with 4 gallery images across. The 'rel="lightbox"' bit triggers the modal window for the lightbox plugin.
ACF, Gallery | Type: PHP
Add Columns to Admin CPT Listing»
See David Lord site for implementation.
ACF, CPT, Custom Admin | Type: PHP
Adding a Label to the Main Editor for Custom Post Types»
When a CPT relies on a lot of custom fields via ACF, the unlabeled main editor can be confusing (“What’s this for?”). This code goes in the theme’s functions file,…
ACF, CPT, Custom Admin, PHP | Type: PHP