Update index.php

This commit is contained in:
Vishal Deshpande 2017-11-27 09:04:22 +05:30 committed by GitHub
parent a647e54bd2
commit 0aa882f071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -14,7 +14,6 @@
get_header(); get_header();
$container = get_theme_mod( 'understrap_container_type' ); $container = get_theme_mod( 'understrap_container_type' );
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
?> ?>
<?php if ( is_front_page() && is_home() ) : ?> <?php if ( is_front_page() && is_home() ) : ?>
@ -64,11 +63,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
</div><!-- #primary --> </div><!-- #primary -->
<!-- Do the right sidebar check --> <!-- Do the right sidebar check -->
<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) : ?> <?php get_template_part( 'global-templates/right-sidebar-check' ); ?>
<?php get_sidebar( 'right' ); ?>
<?php endif; ?>
</div><!-- .row --> </div><!-- .row -->