<?php $author = get_userdata( get_query_var('author') );?> <h1>Posts by <?php echo $author->display_name;?></h1>