lightspeeddevelopment/to-team

View on GitHub
templates/single-team.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Team Single Template
 *
 * @package     tour-operator
 * @category    team
 */

get_header(); ?>

    <?php lsx_content_wrap_before(); ?>

    <div id="primary" class="content-area col-sm-12 <?php echo esc_attr( lsx_main_class() ); ?>">

        <?php lsx_content_before(); ?>

        <main id="main" class="site-main" role="main">

            <?php lsx_content_top(); ?>

            <?php while ( have_posts() ) : the_post(); ?>

                <section id="summary" class="lsx-to-section lsx-to-collapse-section">
                    <h2 class="lsx-to-section-title lsx-to-collapse-title lsx-title hidden-lg" data-toggle="collapse" data-target="#collapse-summary"><?php esc_html_e( 'Summary', 'to-team' ); ?></h2>

                    <div id="collapse-summary" class="collapse in">
                        <div class="collapse-inner">
                            <div class="row">
                                <?php lsx_to_content( 'content', 'team' ); ?>
                            </div>
                        </div>
                    </div>
                </section>

            <?php endwhile; ?>

            <?php lsx_content_bottom(); ?>

        </main><!-- #main -->

        <?php lsx_content_after(); ?>

    </div><!-- #primary -->

<?php lsx_content_wrap_after(); ?>

<?php //get_sidebar(); ?>
<?php //get_sidebar( 'alt' ); ?>

<?php get_footer();