Hiya,
I have a view that displays an unordered lists of taxonomy terms, linking to their term page (i.e. "Link this field to its taxonomy term page" is checked). My taxonomy is called shopping_categories.
I am attempting to insert a span element around the link text, within the A element.
I have tried using views-view-fields--shopping-categories.tpl.php, views-view-fields--shopping-categories.tpl.php, views-view-field--shopping-categories--name.tpl.php and theme_link() to insert the span tag. However, with each method I cannot pull out the path to re-create the HTML myself.
There are some suggestions on adding a span to every link but they don't appear to work with links created by views.
Any idea how I can achieve this?
Thanks
Comments
Comment #1
MustangGB CreditAttribution: MustangGB commented