Users List Template.php from Creating a User Directory Tutorial

Full Users List Template from the Tutorial

This is the full Users List Template.php from the tutorial

<?php
/*
Template Name: Users List
*/


get_header(); ?>

    <div id="primary" class="site-content">
		<div id="content" role="main">
			<article>
				<header class="entry-header">
					<h1 class="entry-title"><?php _e( 'User Directory', 'twentytwelve' ); ?></h1>
				</header>
				<div class="entry-content">
<ul>
	<?php 
		$users = get_users('orderby=user_lastname');
		foreach ($users as $user) {
			pods_user_profile_display($user);
		}
	?>
</ul>
				</div>
			</article>
		</div><!-- #content -->
	</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

 

Questions