TangibleInc / template-system

A template system for WordPress with content type loops and conditions
https://docs.loopsandlogic.com/reference/template-system/
8 stars 3 forks source link

ACF group and flexible content fields broken in 4.1.0/4.1.1 #94

Closed BenTangible closed 8 months ago

BenTangible commented 8 months ago

@eliot-akira, thanks for your super fast work getting those other issues fixed!

I've got two more ACF fields for you to look into, one of which was reported on the forum. It seems that ACF group fields were also broken in the update to 4.1.0. The template below worked in previous versions but doesn't work in the latest version (including 4.1.1).

<Loop acf_group=group_field>
  <Field group_text />
</Loop>

I tested several other ACF field types that use the Loop tag (select, file, link, post, relationship, taxonomy, user, gallery, flexible) and they all seemed to work except for the flexible content field, so this template didn't work either:

<Loop acf_flexible="flexible_field">
  <Field flexible_text />
</Loop>
eliot-akira commented 8 months ago

Much appreciated, will be solved shortly.