I have a node type with a body, that I want to display in a custom node template. When I use code like
I get a mess of div tags like
<div class="field field-name-body field-type-text-with-summary field-label-hidden"> <div class="field-items"> <div class="field-item even">Here is my body content</div> </div> </div>
I appreciate Drupal's rich markup, but I just want
<p>Here is my body content</p>
According to http://api.drupal.org/api/drupal/modules!field!field.module/function/field_view_field/7 I should be using render(), but it render() doesn't seem to be giving me the control I want. Is there a best-practice way to do this?