From 00c9709fd9763542e848f6278db8ba26af5c9886 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Oct 2018 23:46:42 +0200 Subject: Initial commit. --- global-templates/hero.php | 25 ++++++++++++++++++ global-templates/left-sidebar-check.php | 44 ++++++++++++++++++++++++++++++++ global-templates/right-sidebar-check.php | 21 +++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 global-templates/hero.php create mode 100644 global-templates/left-sidebar-check.php create mode 100644 global-templates/right-sidebar-check.php (limited to 'global-templates') diff --git a/global-templates/hero.php b/global-templates/hero.php new file mode 100644 index 0000000..fb02503 --- /dev/null +++ b/global-templates/hero.php @@ -0,0 +1,25 @@ + + + + +
+ + + + + + + +
+ + diff --git a/global-templates/left-sidebar-check.php b/global-templates/left-sidebar-check.php new file mode 100644 index 0000000..1380da4 --- /dev/null +++ b/global-templates/left-sidebar-check.php @@ -0,0 +1,44 @@ + + + + + + + + +'; + } else { + $html .= 'col-md-12 content-area" id="primary">'; + } + echo $html; // WPCS: XSS OK. + } elseif ( 'both' === $sidebar_pos ) { + $html = '
'; + } elseif ( is_active_sidebar( 'right-sidebar' ) || is_active_sidebar( 'left-sidebar' ) ) { + $html .= 'col-md-8 content-area" id="primary">'; + } else { + $html .= 'col-md-12 content-area" id="primary">'; + } + echo $html; // WPCS: XSS OK. + } else { + echo '
'; + } 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 @@ + + +
+ + + + + + + + -- cgit v1.2.3