Playing around a bit with conversion, and have some observations about the IF tag when working with taxonomies.
Here’s the old code:
[set autozonetest][taxonomy property-city field=“autozone”][/set]
[-if var=“autozonetest” compare="=" value=“Yes”]
Determining if a taxonomy for the current post has any term associated with the post was pretty easy:
<If taxonomy=zoning post=current>
Setting the variable from the field in the 2nd taxonomy was also pretty straightforward:
<Loop taxonomy=property-city post=current> <Set name=autozonetest> <Field autozone /> </Set> </Loop>
BUT… it would be so much more convenient if you could just do:
<If taxonomy=property-city field=autozone is="Yes" post=current>
Otherwise it would seem like you need to constantly loop, or you would loop once through a taxonomy and declare everything as a variable and then call the variable with SET and GET.
By the way, took me a while to figure out that rather than using compare=“is” you now use is=“Yes” - I might start posting a few generic examples in the forum for people as I’m sure it might reduce the number of posts you have to respond to on a daily