Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c9efd7968a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 47 lines (35 sloc) 1.111 kB
<?php
/**
* AR2's home template.
*
* @package AR2
* @since 1.0
*/
?>
<?php get_header(); ?>
<div id="content" class="section" role="main">
<?php ar2_above_content() ?>
<?php if ( !$paged ) : ?>
<?php ar2_render_zone( 'home' ) ?>
<?php if ( is_active_sidebar( 'Bottom Content #1' ) ) : ?>
<div class="bottom-sidebar" id="bottom-content-1" role="complementary">
<?php if ( !dynamic_sidebar( 'Bottom Content #1' ) ) : ?>
<?php endif; ?>
</div>
<?php endif ?>
<?php if ( is_active_sidebar( 'Bottom Content #2' ) ) : ?>
<div class="bottom-sidebar" id="bottom-content-2" role="complementary">
<?php if ( !dynamic_sidebar( 'Bottom Content #2' ) ) : ?>
<?php endif; ?>
</div>
<?php endif ?>
<?php else: ?>
<h1 class="archive-title"><?php _e( 'Blog Archives', 'ar2' ) ?></h1>
<div id="archive-posts">
<?php ar2_render_posts( null, array ( 'type' => ar2_get_theme_option( 'archive_display' ) ), true ) ?>
</div><!-- #archive-posts -->
<?php endif; ?>
<?php ar2_below_content() ?>
</div><!-- #content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Jump to Line
Something went wrong with that request. Please try again.