Remove link to terms page when printing taxonomy term on node--content_type.tpl.php? I have a node--content_type.tpl.php template where I want to print the taxonomy term associated with the current content as plain text so that I can surround it with a div class to print a special label for content with the selected term.

So for example I have chosen "Sold" as a taxonomy term and want to display the word with no link to the taxonomy terms page. It currently outputs as "&lt;a datatype="" property="rdfs:label skos:prefLabel" typeof="skos:Concept" href="/taxonomy/term/6">Sold", so links to the taxonomy terms page.

I am currently using this code to print the term:

&lt;?php

if(!empty($node-&gt;field_p_status['und'][0]['value'])) {
  $status = $node-&gt;field_p_status['und'][0]['value'];
}

?&gt;

&lt;?php if(isset($status)) { ?&gt;

&lt;?php print render(field_view_field('node', $node, 'field_p_status', array('label'=&gt;'hidden'))); ?&gt;

&lt;?php } ?&gt;


Any idea how to strip it down so it prints just "Sold"?
To print the raw value you can use this code:

&lt;?php

if(!empty($node-&gt;field_p_status['und'][0]['value'])) {
  print $node-&gt;field_p_status['und'][0]['value'];
}
?&gt;