hangar-wp-theme/index.php

28 lines
556 B
PHP

<?php
/**
* Index Template
*
* This template should not be shown. It is a placeholder.
* Specific templates for each type of content are available.
**/
?>
<?php get_header(); ?>
<div id="main">
<?php if( is_home( )) : ?>
<aside class="hero">
<?php if ( ! dynamic_sidebar( 'secondary-widget-area' ) ) : ?>
<?php endif; // end secondary widget area ?>
</aside>
<?php endif; //end if is_home ?>
<div id="content">
<?php get_template_part( 'loop', 'index' ); ?>
</div>
<!--end Content-->
</div>
<!--end Main-->
<?php get_footer(); ?>