-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
33 lines (23 loc) · 745 Bytes
/
index.php
File metadata and controls
33 lines (23 loc) · 745 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
<?php get_header(); ?>
<?php
while (have_posts()){
the_post();
?>
<div class="container">
<div class="row">
<div class="col-lg-12 mt-3">
<span class="img-fluid rounded image-contained mb-3"><?php the_post_thumbnail(); ?></span>
<div class="date_holder"><span class="day"><?php the_time('j'); ?></span><span class="month"><?php the_time('F'); ?></span></div>
<hr>
<h1 class="mt-4"><?php the_title(); ?></h1>
<p class="lead">By <a href="#"><?php echo get_the_author(); ?></a></p>
<hr>
<p>Posted: <?php the_date(get_option('date_format')); ?></p>
<?php
the_content();
};
?>
</div>
</div>
</div>
<?php get_footer(); ?>