wordpress/php-fpm/wordpress_files/themes/ofiok2018/global-templates/right-sidebar-check.php

16 lines
264 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?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; ?>