I have a custom image field that allows multiple instances. I would like to do a conditional statement in one of my page templates with the following logic:
If wpcf_post_image_field has more than x items, then show this, else show this.
Is it possible to check the number of items in a custom field like this? If so, what's the best way to do it?
Thank you!
I figured out from one of my previous threads(https://toolset.com/forums/topic/possible-to-count-number-of-repeating-fields-with-echo-types_render_field/) that I need to use the global wpcf- prefix, I believe. And that fixed this problem.