Rewrite labels on fields rendered via php So I'm designing a specific node page where I'm manually inserting every field (to ensure I can customize it as the client wants) and I'm having a bit of trouble with certain areas.

Essentially I'm curious if there's a way to rewrite the label of a field while I'm including/rendering it.. see the code below for what I'm currently using:

&lt;?php print render($content['field_product_reference']); ?&gt;


I should also mention that I'm using Drupal 7 &amp; the DisplaySuite module.

UPDATE: Is it possible to make it display HTML in the title area?
The label is usually in the #title key in each content member of the array, so something like

$content['field_product_reference']['#title'] = t('Something new');
print render($content['field_product_reference']);


should update it.

If not, try installing the Devel module and running dpm($content['field_product_reference']); to see whereabouts in the array the label value is.