-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.php
35 lines (35 loc) · 1.36 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
35
<?php get_header(); ?>
<section id="main">
<?php get_template_part('lib/sub-header');?>
<div class="container">
<div id="content" class="site-content" role="main">
<?php while ( have_posts() ): the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="row">
<div class="entry-thumbnail col-md-12">
<?php the_post_thumbnail(); ?>
</div>
</div>
<?php endif; ?>
<div class="entry-content clearfix">
<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'docent' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) ); ?>
</div>
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
<?php endwhile; ?>
</div> <!--/#content-->
</div>
</section> <!--/#main-->
<?php get_footer();