I have ACF fields that I want to output conditionally based on a taxonomy.
Here is my loop:
<Loop taxonomy=listing-type post=current>
<If field="title" value="Lot">
<Field name=listing_lot_size /> <If field="listing_lot_size" value="1">Acre<Else />Acres</If>
<Else />
<Field name=listing_bedrooms /> BD | <Field name=listing_bathrooms /> BA | <Field name=listing_sqft /> SQFT
</If>
</Loop>
The If statement for the tax term of Lot display this / else display that works. But I can’t pull the ACF values of the post?
Aka, that is outputting:
BD | BA | SQFT
And
Acres
But not the ACF values for each…