Listing elements with/out commas and “and” before the last element
-
Hi, I don’t know if this has been answered before, but I can’t find it out there. I have this:
My terms: <Taxonomy my_taxonomy><a href="{Field url}"><Term title /></a></Taxonomy>
The output is nice enough:
My terms: X Y Z
However, I’d like to know if there’s a chance to get these two variations:
1) Adding “and” before the last element:
My terms: X Y and Z
2) Adding commas and “and” before the last element:
My terms: X, Y and Z
Bonus: That’s an example of taxonomy listing. Is is also possible to achieve those when listing elements of a checkbox field? Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Listing elements with/out commas and “and” before the last element’ is closed to new replies.