-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
45 lines (28 loc) · 1.08 KB
/
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
41
42
43
44
45
<?php get_header(); ?>
<div class="row">
<div class="col-md-9">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="row">
<div class="col-md-4">
<img src="https://placeholdit.imgix.net/~text?txtsize=33&w=300&h=300" alt="x" class="img-responsive" />
</div>
<div class="col-md-8">
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p class="post-details">
<?php echo the_time('F jS, Y');?><br>
<?php the_category( ', ' ); ?>
</p>
<div class="content">
<?php the_excerpt(); ?>
<a href="<?php the_permalink(); ?>" class="w8-button grey text-center wide-30">Read More</a>
</div>
</div>
</div>
<hr>
<?php endwhile; endif; ?>
</div>
<div class="col-md-3">
<?php if ( dynamic_sidebar( 'blog-sidebar' ) ); ?>
</div>
</div>
<?php get_footer(); ?>