-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
36 lines (32 loc) · 783 Bytes
/
Copy pathindex.php
File metadata and controls
36 lines (32 loc) · 783 Bytes
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
32
33
34
35
36
<?php
/**
* Main posts template.
*
* @package FireblogClassic
*/
get_header();
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'article' ); ?>>
<h1 class="article-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h1>
<h6 class="dateline"><?php echo esc_html( fireblog_classic_post_dateline() ); ?></h6>
<div class="entry-content">
<?php the_content( __( 'Continue reading', 'fireblog-classic' ) ); ?>
</div>
</article>
<hr class="post-divider">
<?php
endwhile;
the_posts_navigation();
else :
?>
<section class="not-found">
<h1><?php esc_html_e( 'Nothing published yet.', 'fireblog-classic' ); ?></h1>
</section>
<?php
endif;
get_footer();