-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
40 lines (32 loc) · 966 Bytes
/
index.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
36
37
38
39
40
<?php
get_header();
while( have_posts() ) {
the_post();
}
?>
<div class="content_wrapper">
<div class="container body_content py-5">
<div class="row">
<div class="col-md-12 mb-5">
<span class="thumbnail"><?php the_post_thumbnail(); ?></span>
<?php
if (is_single( array( '', '', '' ))){
dynamic_sidebar( 'content-1' );
}
?>
<h2 class="page-title mt-3"><?php the_title(); ?></h2>
<small><strong>Written by: <?php echo get_the_author(); ?> on <?php the_time('j F Y'); ?></strong></small>
<p><?php the_content();?></p>
<?php
if (is_single( array( '', '', '' ))){
dynamic_sidebar( 'content-2' );
}
?>
<hr class="foundationHr" />
<?php comment_form(); ?>
</div>
</div>
</div>
<!-- /front-page end -->
</div>
<?php get_footer(); ?>