hangar-wp-theme/index.php

28 lines
556 B
PHP
Raw Permalink Normal View History

2021-02-18 14:09:56 +01:00
<?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 ?>
2021-02-18 14:09:56 +01:00
<div id="content">
<?php get_template_part( 'loop', 'index' ); ?>
</div>
<!--end Content-->
</div>
<!--end Main-->
<?php get_footer(); ?>