forked from milohuang/reverie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
executable file
·32 lines (27 loc) · 919 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
<?php get_header(); ?>
<!-- Row for main content area -->
<div id="content" class="row">
<div id="main" class="eight columns" role="main">
<div class="post-box">
<h1>
<?php if (is_day()) : ?>
<?php printf(__('Daily Archives: %s', 'reverie'), get_the_date()); ?>
<?php elseif (is_month()) : ?>
<?php printf(__('Monthly Archives: %s', 'reverie'), get_the_date('F Y')); ?>
<?php elseif (is_year()) : ?>
<?php printf(__('Yearly Archives: %s', 'reverie'), get_the_date('Y')); ?>
<?php else : ?>
<?php single_cat_title(); ?>
<?php endif; ?>
</h1>
<hr>
<?php get_template_part('loop', 'category'); ?>
</div>
</div><!-- /#main -->
<aside id="sidebar" class="four columns" role="complementary">
<div class="sidebar-box">
<?php get_sidebar(); ?>
</div>
</aside><!-- /#sidebar -->
</div><!-- End main row -->
<?php get_footer(); ?>