Gatilab Products

Release Notes

Improvements, fixes, and the details behind each release.

GT ACF Blocks Plugin

Reusable content and product blocks with ACF fields and conditional assets.

View Product
← All GT ACF Blocks Plugin Releases
Stable

GT ACF Blocks Plugin 2.1.8

What's Changed

Fixed

  • Critical: Prioritize $block['data'] over get_field() in compat layer. ACF 6.7+ get_field() was intercepting field_ prefixed keys and returning empty values, causing pros-cons and accordion blocks to render empty shells on review CPTs.
  • Extracted acf_blocks_cast_field_value() helper to reduce code duplication in repeater type casting.

Commits

  • chore: bump to 2.1.8, add CHANGELOG.md, improve release workflow (2e36914)
  • fix: prioritize block data over get_field() in compat layer (ddc487b)

Stats

  • Commits: 2
  • Changes: 4 files changed, 232 insertions(+), 162 deletions(-)

Plugin Info

  • Blocks included: 29
  • Requires WordPress: 6.0+
  • Requires PHP: 7.4+
  • Requires: ACF Pro 6.0+ or Secure Custom Fields

Installation

  1. Download acf-blocks-plugin-*.zip from the assets below
  2. Go to Plugins → Add New → Upload Plugin in WordPress admin
  3. Upload the zip file and activate