I am trying to create a list of sibling pages (not posts) in WordPress to populate a page\'s sidebar. The code I\'ve written successfully returns a page\'s parent\'s title. >
wp_list_pages(array( 'child_of' => $post->post_parent, 'exclude' => $post->ID, 'depth' => 1 ));
The correct answer, as both other answers don't exclusively display the siblings.