forked from victorianwaderstudygroup/vwsg-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
37 lines (31 loc) · 768 Bytes
/
archive.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
<?php
/**
* Created by PhpStorm.
* User: Scott
* Date: 20/10/2018
* Time: 11:57 AM
*/
get_header();
/**
* This is the post listing template (News & Events)
*/
?>
<div class="row">
<?php get_sidebar(); ?>
<div class="col-xs-12 col-md-9 main">
<?php get_breadcrumb(); ?>
<div class="content news_listing">
<h1><?=get_query_var('year')?> News & Events</h1>
<?php
if (have_posts()) :
while (have_posts()) :
the_post();
get_template_part('partial/news-item');
endwhile;
endif;
?>
</div>
</div>
</div>
<?php
get_footer();