please help me: I need to get the parent of the current page, in other words: to get the parent of $direct_parent.Thanks!
<?php
global $post;
$direct_parent = $post->post_parent;
$parent = $direct_parent->post_parent;
wp_list_pages( array(
'child_of' => $parent,
'title_li' => false,
'depth' => 1
) );
?>
This code doesn't work(