Update right-sidebar-check.php

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

View File

@ -1 +1,15 @@
<?php
/**
* Right sidebar check.
*
* @package understrap
*/
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) :
get_sidebar( 'right' );
endif;