This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/global-templates/right-sidebar-check.php

16 lines
264 B
PHP
Raw Permalink Normal View History

2017-11-27 03:31:27 +00:00
<?php
/**
* Right sidebar check.
*
* @package understrap
*/
2017-11-27 03:33:41 +00:00
?>
2017-11-27 03:27:36 +00:00
2017-11-27 03:33:41 +00:00
<?php $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); ?>
2017-11-27 03:31:27 +00:00
2017-11-27 03:33:41 +00:00
<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
2017-11-27 03:31:27 +00:00
2017-11-27 03:33:41 +00:00
<?php get_sidebar( 'right' ); ?>
2017-11-27 03:31:27 +00:00
2017-11-27 03:33:41 +00:00
<?php endif; ?>