forked from ejohann/fictional-university-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
25 lines (24 loc) · 900 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
<?php
get_header();
pageBanner(array(
'title' => 'Welcome to our blog!',
'subtitle' => 'Keep up with our latest news.'
));
?>
<div class="container container--narrow page-section">
<?php while(have_posts()){
the_post(); ?>
<div class="post-item">
<h2 class="headline headline--medium headline--post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="metabox">
<p>Posted by <?php the_author_posts_link(); ?> on <?php the_time('n.j.y'); ?> in <?php echo get_the_category_list(', ') ?></p>
</div>
<div class="generic-content">
<?php the_excerpt(); ?>
<p><a class="btn btn--blue" href="<?php the_permalink(); ?>">Continue reading »</a></p>
</div>
<?php }
echo paginate_links();
?>
</div>
<?php get_footer(); ?>