I created a content type called Community (machine name: community).

So I created file node--community.tpl.php to rearrange the fields.

I can do it like this...

  print render($content['field_phone']);

it prints (with Phone in bold)...

(888) 555-555

But I just want it to display the raw value with no label and no surrounding HTML. I just want to print (888) 555-555.

How can I do this?

1 Answer 1


You can do this by editing the Content Type and managing the display of your fields - click the Manage Display tab.

Once in there, you can change the label to hidden.

See screenshot:

enter image description here

  • Yes, that's the right solution. Commented Oct 11, 2013 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.