Hi. I’m trying to create a string of category names (from the categories a particular entry is placed in) that is comma-delimited, but also uses an “and” before the last category. Something like this:
category1, category2, category3, and category4
I can get the commas fairly easily using this code:
{categories backspace="2"}{category_name}, {/categories}but adding the “and” before the last category name has me stumped.
Any ideas?
Thanks in advance,
Frank