wordpress showing all posts and divide into multi divs

I want to dispay all posts from one category in one page, but separate them like below

<div id="parent_1">
  <div>post_1</div>
  <div>post_2</div>
  <div>post_3</div>
</div>
<div id="parent_2">
  <div>post_4</div>
  <div>post_5</div>
</div>

How can i do that?

Read more here: wordpress showing all posts and divide into multi divs

Leave a Reply

Your email address will not be published. Required fields are marked *