Parent and child pages
-
Hello!
I have the next code:
<div class=”section”>
<h2>“>The Right Curriculum</h2>
<div class=”section_inner”><div class=”feature”>” class=”schedule”>Sample Curriculum</div>
</div>
</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?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Parent and child pages’ is closed to new replies.