Hi @bcworkz – good morning,
Ok – I got third level parents and have used it in ‘child_of’ like :
$parent_four=get_pages( array('parent'=>$parent_three_id, 'child_of'=>$parent_three_id, 'number'=>2,'sort_column'=>rand) );
Now what happens is number->2 gives me 2 child pages of each parent. So I made little adjustments by displaying 4 columns – till this it is absolutely fine.
But what if in future when there’ll be 3 or more parents? ?? ?? ??
Please advise.
Thanks again,
Vikram