diff options
| author | Max | 2018-11-04 22:32:44 +0100 |
|---|---|---|
| committer | Max | 2018-11-04 22:32:44 +0100 |
| commit | 76402a87f366838bf06f6e36a552be43dfb5641c (patch) | |
| tree | ec38e2d9115dee07496edce79129461dce64dd81 /dist/global-templates | |
| parent | a3e1f8c9c14edf58185f290a492d86d6d688813b (diff) | |
| download | fuselkoenig_de-76402a87f366838bf06f6e36a552be43dfb5641c.tar.gz | |
Removes dist/ folder.
Diffstat (limited to 'dist/global-templates')
| -rw-r--r-- | dist/global-templates/hero.php | 25 | ||||
| -rw-r--r-- | dist/global-templates/left-sidebar-check.php | 44 | ||||
| -rw-r--r-- | dist/global-templates/right-sidebar-check.php | 21 |
3 files changed, 0 insertions, 90 deletions
diff --git a/dist/global-templates/hero.php b/dist/global-templates/hero.php deleted file mode 100644 index fb02503..0000000 --- a/dist/global-templates/hero.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php -/** - * Hero setup. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} -?> - -<?php if ( is_active_sidebar( 'hero' ) || is_active_sidebar( 'statichero' ) || is_active_sidebar( 'herocanvas' ) ) : ?> - - <div class="wrapper" id="wrapper-hero"> - - <?php get_template_part( 'sidebar-templates/sidebar', 'hero' ); ?> - - <?php get_template_part( 'sidebar-templates/sidebar', 'herocanvas' ); ?> - - <?php get_template_part( 'sidebar-templates/sidebar', 'statichero' ); ?> - - </div> - -<?php endif; ?> diff --git a/dist/global-templates/left-sidebar-check.php b/dist/global-templates/left-sidebar-check.php deleted file mode 100644 index 1380da4..0000000 --- a/dist/global-templates/left-sidebar-check.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php -/** - * Left sidebar check. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} -?> - -<?php -$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); -?> - -<?php if ( 'left' === $sidebar_pos || 'both' === $sidebar_pos ) : ?> - <?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?> -<?php endif; ?> - -<?php - $html = ''; - if ( 'right' === $sidebar_pos || 'left' === $sidebar_pos ) { - $html = '<div class="'; - if ( ( is_active_sidebar( 'right-sidebar' ) && 'right' === $sidebar_pos ) || ( is_active_sidebar( 'left-sidebar' ) && 'left' === $sidebar_pos ) ) { - # modified 2018-10-10 - $html .= 'col-lg-8 content-area" id="primary">'; - } else { - $html .= 'col-md-12 content-area" id="primary">'; - } - echo $html; // WPCS: XSS OK. - } elseif ( 'both' === $sidebar_pos ) { - $html = '<div class="'; - if ( is_active_sidebar( 'right-sidebar' ) && is_active_sidebar( 'left-sidebar' ) ) { - $html .= 'col-md-6 content-area" id="primary">'; - } 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 '<div class="col-md-12 content-area" id="primary">'; - } diff --git a/dist/global-templates/right-sidebar-check.php b/dist/global-templates/right-sidebar-check.php deleted file mode 100644 index e32e375..0000000 --- a/dist/global-templates/right-sidebar-check.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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; ?> |
