Created
June 16, 2017 16:51
-
-
Save JMWebDevelopment/9e247896c01f583c681ee972dbc91b03 to your computer and use it in GitHub Desktop.
For more information, go to: https://sportsbenchwp.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: Team | |
*/ | |
get_header(); ?> | |
<div id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
<?php | |
// Start the loop. | |
while ( have_posts() ) : the_post(); ?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<div class="entry-content"> | |
<?php if ( function_exists( 'sports_bench_get_teams' ) ) { ?> | |
<?php if ( isset( $team ) ) { ?> | |
<?php } else { ?> | |
<?php } ?> | |
<?php } ?> | |
</div> | |
</article> | |
<?php endwhile; | |
?> | |
</main><!-- .site-main --> | |
</div><!-- .content-area --> | |
<?php if ( function_exists( 'sports_bench_get_teams' ) ) { ?> | |
<?php if ( isset( $team ) ) { ?> | |
<aside id="secondary" class="sidebar widget-area" role="complementary"> | |
</aside> | |
<?php } else { ?> | |
<?php get_sidebar(); ?> | |
<?php } ?> | |
<?php } ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment