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


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: