Skip to content

Instantly share code, notes, and snippets.

@mbeall
Created January 1, 2014 21:25
Show Gist options
  • Save mbeall/8211661 to your computer and use it in GitHub Desktop.
Save mbeall/8211661 to your computer and use it in GitHub Desktop.
<?php
/**
* The template for displaying a list of profiles for a Team.
*
* @package Steel
* @module Teams
*
*/
get_header(); ?>
<section id="primary" class="content-area container">
<div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title">
<?php if ( is_tax('steel_team') ) { printf( __( '%s', 'flint' ), '<span>' . single_term_title( '', false ) . '</span>' ); } ?>
</h1>
</header><!-- .page-header -->
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part('type', 'steel_profile'); ?>
<?php endwhile; ?>
<?php flint_content_nav( 'nav-below' ); ?>
<?php else : ?>
Nothing here.
<?php endif; ?>
</div><!-- #content -->
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment