This is the full code from the Tutorial.
<?php
/**
*
* User profile page.
*
*/
get_header(); ?>
<section id="primary" class="site-content">
<div id="content" role="main">
<?php
if ( have_posts() ) :
//First get the_post so WordPress knows who's author page this is
the_post();
?>
<article>
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'User Profile', 'twentytwelve' ); ?></h1>
</header>
<?php
//get the author's meta data and store in array $user
$user = get_userdata( get_the_author_meta('ID') );
//show the user's profile.
pods_user_profile_display($user);
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts();
?>
<?php twentytwelve_content_nav( 'nav-above' ); ?>
<div class="author-info">
<h2><?php _e('Post By:', 'twentytwelve'); echo ' ' . get_the_author(); ?></h2>
</div>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php twentytwelve_content_nav( 'nav-below' ); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</article>
</div><!-- #content -->
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>