ACF Theme Code Pro (v2.4) with Support for ACF Blocks!

With version 2.4 of ACF Theme Code Pro,  you can now easily generate code to use ACF Blocks in your projects!

Simply follow the steps below:

  1. Install ACF Theme Code Pro v2.4 (you can download from your account area)
  2. Browse to Custom Fields > Tools
  3. Create a name for your block & copy the code
  4. Paste the code into functions.php & customise as needed
  5. Create a field group for your block and set your new block as it’s ‘location’
  6. Create a ‘template part’ PHP file for your new block
  7. Copy the Theme Code into your new Template part file
  8. Wrap the Theme Code in HTML and enhance with CSS or JS!

Screenshot of the Tools Page with ACF Block Registration Code Output

Screenshot of the Field Group page (with block code output) 

Some other improvements included in version 2.4

  • Support for WordPress 5.2
  • Support for ACF PRO 5.8
  • Radio Button field (core): Add support for all return types
  • Refactoring that will allow for the more options for the code generated in the future

New third party fields now supported in version 2.4

Find out more about ACF Theme Code Pro 

Good dev stuff, delivered.

Product news, tips, and other cool things we make.

We never share your data. Read our Privacy Policy

© 2016 – 2024 Hookturn Digital. All rights reserved.