2.2.8
What’s Changed
Added
- Product Box — Top Image variation: New
is-style-top-imageblock style shows image above content cropped to 16:9 aspect ratio. Newproduct-box-wide(800×450) 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 butmd_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
$halfSvgvariable with brokenuniqid()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
- Download
acf-blocks-plugin-*.zipfrom the assets below - Go to Plugins → Add New → Upload Plugin in WordPress admin
- Upload the zip file and activate
