diff options
| author | Max | 2018-10-15 23:46:42 +0200 |
|---|---|---|
| committer | Max | 2018-10-15 23:46:42 +0200 |
| commit | 00c9709fd9763542e848f6278db8ba26af5c9886 (patch) | |
| tree | 92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /global-templates/right-sidebar-check.php | |
| download | fuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz | |
Initial commit.
Diffstat (limited to 'global-templates/right-sidebar-check.php')
| -rw-r--r-- | global-templates/right-sidebar-check.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/global-templates/right-sidebar-check.php b/global-templates/right-sidebar-check.php new file mode 100644 index 0000000..e32e375 --- /dev/null +++ b/global-templates/right-sidebar-check.php @@ -0,0 +1,21 @@ +<?php +/** + * Right sidebar check. + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} +?> + +</div><!-- #closing the primary container from /global-templates/left-sidebar-check.php --> + +<?php $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); ?> + +<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) : ?> + + <?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?> + +<?php endif; ?> |
