Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="container">
- <?php if( is_home() && ! is_paged() && esplanade_get_option( 'slider' ) ) : ?>
- <?php get_template_part( 'slider' ); ?>
- <?php endif; ?>
- <?php if( 'sidebar-content-sidebar' == esplanade_get_option( 'layout' ) ) : ?>
- <div class="content-sidebar-wrap">
- <?php endif; ?>
- <section id="content">
- <?php if( ( is_home() && is_paged() && esplanade_get_option( 'breadcrumbs' ) ) || ( ! is_home() && ( esplanade_get_option( 'breadcrumbs' ) || esplanade_get_option( 'location' ) ) ) ) : ?>
- <div id="location">
- <?php if( esplanade_get_option( 'breadcrumbs' ) ) : ?>
- <?php esplanade_breadcrumbs(); ?>
- <?php endif; ?>
- <?php if( ! is_home() && esplanade_get_option( 'location' ) ) : ?>
- <?php esplanade_current_location(); ?>
- <?php endif; ?>
- </div><!-- #location -->
- <?php endif; ?>
- <?php if( have_posts() ) : ?>
- <?php while( have_posts() ) : the_post(); ?>
- <?php get_template_part( 'content', get_post_format() ); ?>
- <?php endwhile; ?>
- <div class="clear"></div>
- <?php esplanade_posts_nav(); ?>
- <?php else : ?>
- <?php esplanade_404(); ?>
- <?php endif; ?>
- </section><!-- #content -->
- <?php if( 'sidebar-content-sidebar' == esplanade_get_option( 'layout' ) ) : ?>
- <?php get_sidebar( 'left' ); ?>
- </div><!-- #content-sidebar-wrap -->
- <?php get_sidebar( 'right' ); ?>
- <?php elseif( ( 'no-sidebars' != esplanade_get_option( 'layout' ) ) && ( 'full-width' != esplanade_get_option( 'layout' ) ) ) : ?>
- <?php get_sidebar(); ?>
- <?php endif; ?>
- </div><!-- #container -->
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment