wordpress/php-fpm/wordpress_files/themes/ofiok2018/global-templates/right-sidebar-check.php
2020-05-22 01:40:23 +00:00

16 lines
264 B
PHP

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