Source

elbee-elgee / archives.php

Full commit
Doug Stewart c53b76b 
Doug Stewart ba2f84d 








Doug Stewart c53b76b 



Doug Stewart a6f56dc 
Doug Stewart 2affaf8 



Doug Stewart c53b76b 

Doug Stewart 2affaf8 
Doug Stewart 1f65e4f 


Doug Stewart a6f56dc 
Doug Stewart 97690a7 
Doug Stewart a6f56dc 
Doug Stewart 89bc7f1 
Doug Stewart a6f56dc 








Doug Stewart 97690a7 
Doug Stewart a6f56dc 
Doug Stewart c53b76b 
<?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(); ?>