I would like a result like this:
<div id="main">
<h1>title 1</h1>
text 1
<h1>title 2</h2>
text 2
</div>
But my result looks like this:
<div id="main">
<h1>title 1</h1>
text 1
</div>
<h1>title 2</h2>
text 2
</div>
I thought I started the loop within the div, but WP closes a div after each post. Why?
elya