I am using the Taxonomy field type for selecting (knowledgebase plugin) categories to return Term IDs on my page and it is working perfectly.
What I don’t know how to do however, is how to wrap those IDs in <span> tags so that I can style each Term ID – in place of the commas that are currently seperating them.
Any help would be hugely appreciated.
Hi @designseednz ,
Thanks for reaching out to us.
You could store the values in a variable first and then use the PHP split function to create an array thus be able to access specific elements.
Hope this helps.