22 lines
416 B
PHP
22 lines
416 B
PHP
<?php
|
|
/**
|
|
* Left sidebar check.
|
|
*
|
|
* @package understrap
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly.
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
|
?>
|
|
|
|
<?php if ( 'left' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
|
|
<?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
|
|
<?php endif; ?>
|
|
|
|
<div class="col-md content-area" id="primary">
|