-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
22 lines (20 loc) · 747 Bytes
/
single.php
File metadata and controls
22 lines (20 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php get_header() ?>
<section class="content-container">
<?php while( have_posts() ) : the_post() ?>
<article id="post-<?php the_ID() ?>" <?php post_class( 'main-content blog-post' ) ?>>
<header>
<?php do_action( 'blitch_single_header' ) ?>
</header>
<div class="post-feature"><?php do_action( 'blitch_post_feature' ) ?></div>
<div class="post-excerpt"><?php if( has_excerpt() ) : ?><?php the_excerpt() ?><?php endif ?></div>
<div class="post-content">
<?php the_content( __( 'Continue reading …', 'blitch' ) ) ?>
<?php \planetjon\blitch\templates\showPagination( 'post' ) ?>
</div>
<footer>
<?php do_action( 'blitch_single_footer' ) ?>
</footer>
</article>
<?php endwhile ?>
</section>
<?php get_footer() ?>