-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·32 lines (24 loc) · 782 Bytes
/
Copy pathindex.php
File metadata and controls
executable file
·32 lines (24 loc) · 782 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
<?php get_header(); ?>
<div id="main">
<div class="container clearfix">
<div class="main-content">
<?php if (have_posts()) : ?>
<ul class="posts">
<?php while (have_posts()) : the_post(); ?>
<li>
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p class="post-meta"><?php grayblack_post_meta(); ?></p>
<p class="post-excerpt"><?php the_excerpt(); ?></p>
<div class="read-more"><a href="<?php the_permalink(); ?>" class="button">Continue reading</a></div>
</li>
<?php endwhile; ?>
</ul>
<?php grayblack_numeric_posts_nav(); ?>
<?php else : ?>
<p>No result found.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>