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.2.8

What's Changed

Added

  • Product Box — Top Image variation: New is-style-top-image block style shows image above content cropped to 16:9 aspect ratio. New product-box-wide (800x450) image size registered for this variation.

Fixed

  • Critical: Section block custom CSS never rendered on frontend — md_store_block_css() stored CSS in a static variable but md_output_stored_block_css() read from a global, so the footer <style> tag was always empty. Fixed by using a shared global variable.
  • Critical: Post Display block crashed (fatal error) when ACF compat layer returned raw post IDs instead of WP_Post objects. Now normalizes entries via get_post() before rendering.
  • Changelog block: Nested repeater items (type/description) failed to parse in flat data format with ACF 6.7+. Now falls back to acf_blocks_get_nested_repeater() when items aren't already arrays.
  • Email Form block: Wrong text domain 'gauravtiwari' replaced with 'acf-blocks' for translatable strings.
  • Product Review block: Removed dead $halfSvg variable with broken uniqid() gradient IDs.

Improved

  • Product Box design refresh: Refined color palette (slate scale), softer shadows, larger border-radius, badge shadow, smoother hover transitions, and better dark mode Amazon button contrast.

Commits

  • Fix 5 bugs across plugin and bump version to 2.2.8 (f1d262e)
  • Add Top Image variation to Product Box block with design improvements (ecc4e06)

Stats

  • Commits: 2
  • Changes: 12 files changed, 241 insertions(+), 30 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