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.
2017-11-27 03:31:27 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2019-11-14 17:16:31 +00:00
|
|
|
* Right sidebar check
|
2017-11-27 03:31:27 +00:00
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
2018-09-10 21:59:04 +00:00
|
|
|
|
2019-06-20 08:57:12 +00:00
|
|
|
// Exit if accessed directly.
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
2017-11-27 03:33:41 +00:00
|
|
|
?>
|
2017-11-27 03:27:36 +00:00
|
|
|
|
2018-04-12 18:35:08 +00:00
|
|
|
</div><!-- #closing the primary container from /global-templates/left-sidebar-check.php -->
|
|
|
|
|
2020-04-19 10:08:39 +00:00
|
|
|
<?php
|
|
|
|
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
2017-11-27 03:31:27 +00:00
|
|
|
|
2020-04-19 10:08:39 +00:00
|
|
|
if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) {
|
|
|
|
get_template_part( 'sidebar-templates/sidebar', 'right' );
|
|
|
|
}
|