hello
im getting all subpages of a page which looks kinda lika this
f($post->post_parent)
$children = wp_list_pages("title_li=&depth=1&child_of=".$post->ID."&echo=0");
if ($children) {
echo $children;
}
there are 2 subpages, which are also correctly displayed, but somehow afterwards, not like in an array
i need a way to excute code for every subpage like this
while (there are any subpages) {
do this and that
}
can someone give me a hint how to solve this
tanks