-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
29 lines (26 loc) · 906 Bytes
/
index.php
File metadata and controls
29 lines (26 loc) · 906 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
<?php get_header(); ?>
<!-- Main -->
<div id="main">
<p>index</p>
<!-- Posts -->
<section class="posts">
<?php while ( have_posts() ) : the_post(); ?>
<article>
<header>
<span class="date"><?php the_date('l, F j, Y'); ?></span>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</header>
<a href="<?php the_permalink(); ?>" class="image fit"><img src="<?php the_post_thumbnail_url(); ?>" alt="" /></a>
<p><?php the_excerpt();?></p>
<ul class="actions">
<li><a href="<?php the_permalink(); ?>" class="button">Full Story</a></li>
</ul>
</article>
<?php endwhile; ?>
</section>
<!-- Footer -->
<footer>
<?php the_posts_pagination(); ?>
</footer>
</div>
<?php get_footer(); ?>