Hiding referenced term name from node display I've stumbled upon a situation where I want to display a link and a custom icon for the link (I'm using paragraphs module) which will be themed correctly later, BUT. After providing a taxonomy term with a image field and making it display ONLY the image by default I'm still getting a h2 of the linked terms name. 

I already tried hook_entity_view, but it doesn't have separate values for icon and the randomly displayed term name - only the term id meaning I cannot unset it at this hook. 

Any suggestions/experience on how should we work with this?
In the content type or paragraph type go to Manage Display and configure the format of the term field as "Rendered entity".

Copy taxonomy-term.html.twig to the template folder of your theme and remove the linked title: &lt;h2&gt;&lt;a href="{{ url }}"&gt;{{ name }}&lt;/a&gt;&lt;/h2&gt;

taxonomy-term.html.twig

&lt;div{{ attributes }}&gt;
  {{ title_prefix }}
  {% if not page %}
    &lt;h2&gt;&lt;a href="{{ url }}"&gt;{{ name }}&lt;/a&gt;&lt;/h2&gt;
  {% endif %}
  {{ title_suffix }}
  {{ content }}
&lt;/div&gt;