-
Notifications
You must be signed in to change notification settings - Fork 2
/
archives.php
41 lines (38 loc) · 938 Bytes
/
archives.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
38
39
40
41
<?php
/**
* Template Name: Archives
* Displays chronologically-ordered post archives
*
* @package Elbee-Elgee
* @copyright Copyright (c) 2011, Doug Stewart
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
*
* @since Elbee-Elgee 1.0
*/
?>
<?php get_header(); ?>
<?php if(function_exists(arl_subtraction_archives_posts)){?>
<div id="archive-wrapper">
<div id="archive-posts">
<h2>Archives<br />By Date</h2>
<?php arl_subtraction_archives_posts(); ?>
</div>
</div>
<div id="archive-categories">
<h2>Archives<br />By Category</h2>
<?php arl_subtraction_archives_categories(); ?>
</div>
<?php }else{ ?>
<div id="allwrapper">
<div id="wrapper">
<div id="lb-content">
<h3 class="archives">Archives</h3>
<?php wp_smart_archives(); ?>
<h3>Tag Cloud</h3>
<?php wp_tag_cloud(); ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
<?php } ?>
<?php get_footer(); ?>