There’s got to be a better way than this, but I got it to work giving the parent’s title like so:
function the_parent_link()
{
global $post;
global $wpdb;
if( 0 != $post->post_parent ) {
$post_title = $wpdb->get_var("SELECT post_title from $wpdb->posts WHERE ID = $post->post_parent");
echo '<a>post_parent) ) . '">' .
apply_filters( 'the_title', $post_title ) . '</a>';
}
}
Ooops, yes, that’s what I’m looking for thanks!