-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
31 lines (31 loc) · 880 Bytes
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
defined( 'ABSPATH' ) or die( 'Vulpix, use Flamethrower!' );
/**
* Single template
*
* @link https://developer.wordpress.org/themes/basics/template-files/#common-wordpress-template-files
* @package Vulpix
* @since Vulpix 1.0.0
*/
get_header();
?>
<main role="main" class="container">
<div class="grid">
<article <?php echo post_class(); ?>>
<?php
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content/template', 'post-header' );
?>
<div class="col-sm-10 offset-1 col-md-8 offset-md-2">
<?php the_content(); ?>
</div>
<?php
}
?>
</article>
</div>
<?php get_template_part( 'template-parts/content/template', 'post-footer' ); ?>
</main>
<?php
get_footer();