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-01-27 12:22:02 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Left sidebar check.
|
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
|
|
|
|
2018-09-10 21:59:04 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly.
|
|
|
|
}
|
2017-01-27 12:22:02 +00:00
|
|
|
|
2016-11-19 11:05:37 +00:00
|
|
|
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
2016-11-14 14:16:24 +00:00
|
|
|
?>
|
2017-02-11 08:07:40 +00:00
|
|
|
|
|
|
|
<?php if ( 'left' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
|
2018-11-18 23:47:07 +00:00
|
|
|
<?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
|
2016-11-19 11:05:37 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2018-10-15 13:48:12 +00:00
|
|
|
<div class="col-md content-area" id="primary">
|