hangar-wp-theme/index.php

35 lines
621 B
PHP
Raw 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-->
<?php //if(!is_home()) {
//get_sidebar('secondary');} ?>
</div>
<!--end Main-->
<?php get_footer(); ?>