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