-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
34 lines (33 loc) · 1.27 KB
/
page.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
32
33
34
<?php get_header();?>
<main class="main-content" id="content">
<?php while ( have_posts() ) : the_post(); ?>
<div class="hentry translucent">
<header class="hentry-title">
<h2 itemprop="headline"><?php the_title(); ?></h2>
<div class="archive-meta small">
<?php echo get_bluefly_posted_on(); ?>
</div>
</header>
<div class="hentry-content entry">
<?php if(has_post_thumbnail()):?>
<div class="has-thumb"><?php the_post_thumbnail( 'full' ); ?></div>
<?php endif;?>
<?php the_content();?>
</div>
<?php wp_link_pages( array(
'before' => '<div class="page-links text-center comment-navigation">',
'after' => '</div>',
'link_before' => '<span class="page-link-item">',
'link_after' => '</span>',
'pagelink' => '%',
'separator' => '<span class="screen-reader-text">, </span>',
) );?>
</div>
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; ?>
</main>
<?php get_footer();?>