Created
November 9, 2020 14:21
-
-
Save flymke/d67e075ccc2e6694783ccfb959c0b3a8 to your computer and use it in GitHub Desktop.
single-door.php
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 | |
/** | |
* The template for displaying all single posts | |
* | |
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post | |
* | |
* @package WP_Bootstrap_Starter | |
*/ | |
get_header(); ?> | |
<section id="primary" class="content-area col-sm-12 col-lg-8"> | |
<div id="main" class="site-main" role="main"> | |
<?php | |
while ( have_posts() ) : the_post(); | |
get_template_part( 'template-parts/content', get_post_format() ); | |
the_post_navigation(); | |
// 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; | |
endwhile; // End of the loop. | |
?> | |
</div><!-- #main --> | |
</section><!-- #primary --> | |
<?php | |
get_sidebar(); | |
get_footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment