Update right-sidebar-check.php

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

View File

@ -4,12 +4,12 @@
*
* @package understrap
*/
?>
<?php $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); ?>
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) :
<?php get_sidebar( 'right' ); ?>
get_sidebar( 'right' );
endif;
<?php endif; ?>