I have the next code:
<h2>">The Right Curriculum</h2>
<div class="feature">" class="schedule">Sample Curriculum</div>
The "The Right Curriculum" is the parent and the five others are the children.
I want to make it dynamic and making a loop condition that show the four first children if the current page is the parent.
How can i make it?