ACF – Pick first or second value from comma separated values
I have just started using ACF and mostly using feature to show data uploaded from csv file. Everything is working fine.
But in some fields i have data in the form of comma separated values such as Fiery Red, Leafy Green, Sky Blue.
My current output works as follows.
Available Colors – Fiery Red, Leafy Green, Sky Blue
I want to achieve;
Available Color – Fiery Red
Available Colors – Fiery Red, Leafy Green
Depending on scenario i want to show up one,two or all three values.
How can i achieve this ? As mentioned above, i am totally new to this.
Thank you !