I am overriding the node template for a custom content type, say node-custom.tpl.php
.
The content type have some fields that I want to show in columns like this :
|Label1|Data1| |Label2|Data2| |Label3|Data3| |Label4|Data4|
If I use render($content['field_custom_data'])
both the data and the label are drawn.
I know how to hide the label from the render using the content type display configuration but I need a solution for the label.
The site is multilanguage if that matters.
field_get_items
is a good way to go here, I just don't have time to properly answer below. It allows you to theme the individual custom data parts as you want above.