Created
August 23, 2018 02:27
-
-
Save congthien/6600f0a10c6b394b9cf7c2005b434a8d to your computer and use it in GitHub Desktop.
This file contains 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: Full Width | |
* @package Passionate | |
*/ | |
get_header(); ?> | |
<div class="container"> | |
<div class="dt-main-cont"> | |
<div class="row"> | |
<div class="col-lg-12 col-md-12"> | |
<div id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<?php get_template_part( 'template-parts/content', 'page' ); ?> | |
<?php | |
// If comments are open or we have at least one comment, load up the comment template. | |
if ( comments_open() || get_comments_number() ) : | |
comments_template(); | |
endif; | |
?> | |
<?php endwhile; // End of the loop. ?> | |
</main><!-- #main --> | |
</div><!-- #primary --> | |
</div><!-- .col-lg-8 .col-md-8 --> | |
</div><!-- .row --> | |
</div><!-- .dt-main-cont --> | |
</div><!-- .container --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment