Hi,
When a taxonomy field is displayed on a page, it is accompanied by a tag link.
I would like to remove the link and only have the text.
I want the value of the field in a data attribute, but i get something like :
data-faq-tag=’Loans, FinancialSupport‘
What i would like is :
data-faq-tag=’Loans FinancialSupport’
how can i do that ?
(edit to put the code into a code snippet)
I want the value of the field in a data attribute, but i get something like :
<a href="https://my-site.test/tag/loans/" rel="tag">Loans</a>, <a href="https://my-site.test/tag/financialsupport/" rel="tag">FinancialSupport</a>
What is the return format of the taxonomy field?
What code are you using to display the link?