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/left-sidebar-check.php

19 lines
360 B
PHP
Raw Permalink Normal View History

2017-01-27 12:22:02 +00:00
<?php
/**
* Left sidebar check
2017-01-27 12:22:02 +00:00
*
* @package understrap
*/
2019-06-20 08:57:12 +00:00
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
2017-01-27 12:22:02 +00:00
$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">