Number
All ACF custom fields are stored as strings - even numeric types like Number to allow for decimal points. Liquid handles this quite nicely with one exception: you cannot do a direct comparison between a number and a string So while this is possible:
You need to convert it to a number if you want to do a numeric comparison with the field's value beforehand, like this:
the " | plus: 0 " converts the string into a number type in Liquid
Last updated