Category: Advanced Custom Fields

Adding groups support to the ACF field shortcode

I loved the addition of groups to Advanced Custom Fields – instead of endless repetitions like header_heading, header_image, header_video and so on we can now treat them as an associative array: $header[‘heading’], $header[‘image’], $header[‘video’]. Unfortunately, there are some problems with displaying fields – e.g. can’t choose to display raw content in get_field(). The bundled shortcode […]