Outputting multiple content fields all wrapped in a div I'm trying to wrap multiple field items in an HTML container.

So let's say I have "Blog" content type. I have field1, field2, field3, field4 and field5 for this content type. 

I want to output field2, field3 and field4 wrapped together in a DIV.

I've been Googling and tinkering for the past 3 hours and I haven't gotten anywhere.

Any help out there?

Drupal 7, Zen subtheme. 

I read this and didn't have any luck here either: 
Wrapping multiple cck fields into a single div tag for theming?
Multiple ways to achieve this.


By creating a node tpl file for that particular content type.
By creating view.
But i think the best and easiest way is creating group in manage display. Check field group module.


Procedure to create group.


Go to structure->content types->content(ex-blog)->manage displays.
Add a new group of div type.
Drag the required field like field2 , field3 etc under it.


Print in tpl file.

It will be easy to find out if you will update the code snippet of node--case-study.tpl.php file. 

I think you need to first check by printing

echo '&lt;pre&gt;';
print_r($content);


and use this for 

&lt;div class="y"&gt;
  &lt;?php print($content['field1']); ?&gt;
&lt;/div&gt;

&lt;div class="x"&gt;
 &lt;?php 
    print($content['field2']);
    print($content['field3']);
    print($content['field4']); 
 ?&gt;
&lt;/div&gt;