This must be simple, but I can’t find how to do it ..
Say I have a custom content type of ‘staff’ which, among other, has an entity reference field linked to a taxonomy vocabulary which has the terms: ‘type A’, ‘type B’, ‘type C’.
How can I display some custom text according to which term the content type belongs to?
for example, if ‘John Doe’ of content type ‘staff’ belongs to ‘type A’, I want that field to be displayed as ‘Director’ and not ‘type A’.
I don’t want custom text for each individual, I would like to display ‘Director’ for all ‘type A’ staff, ‘Manager’ for all ‘type B’ staff and ‘Administration’ for all ‘type C’ staff..
I would prefer to solve this via core modules and not touching code, if possible. If not possible, then is there a lightweight module to achieve this?
thanks.