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

New third party fields now supported in version 2.4

Find out more about ACF Theme Code Pro