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