diff options
Diffstat (limited to 'dist/sidebar-templates')
| -rw-r--r-- | dist/sidebar-templates/sidebar-footerfull.php | 34 | ||||
| -rw-r--r-- | dist/sidebar-templates/sidebar-hero.php | 47 | ||||
| -rw-r--r-- | dist/sidebar-templates/sidebar-herocanvas.php | 19 | ||||
| -rw-r--r-- | dist/sidebar-templates/sidebar-left.php | 27 | ||||
| -rw-r--r-- | dist/sidebar-templates/sidebar-right.php | 27 | ||||
| -rw-r--r-- | dist/sidebar-templates/sidebar-statichero.php | 33 |
6 files changed, 0 insertions, 187 deletions
diff --git a/dist/sidebar-templates/sidebar-footerfull.php b/dist/sidebar-templates/sidebar-footerfull.php deleted file mode 100644 index eaef767..0000000 --- a/dist/sidebar-templates/sidebar-footerfull.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/** - * Sidebar setup for footer full. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} - -$container = get_theme_mod( 'understrap_container_type' ); - -?> - -<?php if ( is_active_sidebar( 'footerfull' ) ) : ?> - - <!-- ******************* The Footer Full-width Widget Area ******************* --> - - <div class="wrapper footer" id="wrapper-footer-full"> - - <div class="<?php echo esc_attr( $container ); ?>" id="footer-full-content" tabindex="-1"> - - <div class="row"> - - <?php dynamic_sidebar( 'footerfull' ); ?> - - </div> - - </div> - - </div><!-- #wrapper-footer-full --> - -<?php endif; ?> diff --git a/dist/sidebar-templates/sidebar-hero.php b/dist/sidebar-templates/sidebar-hero.php deleted file mode 100644 index 11eed09..0000000 --- a/dist/sidebar-templates/sidebar-hero.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/** - * Sidebar - hero setup. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} -?> - -<?php if ( is_active_sidebar( 'hero' ) ) : ?> - - <!-- ******************* The Hero Widget Area ******************* --> - - <div id="carouselExampleControls" class="carousel slide" data-ride="carousel"> - - <div class="carousel-inner" role="listbox"> - - <?php dynamic_sidebar( 'hero' ); ?> - - </div> - - <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev"> - - <span class="carousel-control-prev-icon" aria-hidden="true"></span> - - <span class="sr-only"><?php esc_html_e( 'Previous', 'understrap' ); ?></span> - - </a> - - <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next"> - - <span class="carousel-control-next-icon" aria-hidden="true"></span> - - <span class="sr-only"><?php esc_html_e( 'Next', 'understrap' ); ?></span> - - </a> - - </div><!-- .carousel --> - -<script> -jQuery( ".carousel-item" ).first().addClass( "active" ); -</script> - -<?php endif; ?> diff --git a/dist/sidebar-templates/sidebar-herocanvas.php b/dist/sidebar-templates/sidebar-herocanvas.php deleted file mode 100644 index 46e0e72..0000000 --- a/dist/sidebar-templates/sidebar-herocanvas.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php -/** - * Sidebar - hero canvas setup. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} -?> - -<?php if ( is_active_sidebar( 'herocanvas' ) ) : ?> - - <!-- ******************* The Hero Canvas Widget Area ******************* --> - - <?php dynamic_sidebar( 'herocanvas' ); ?> - -<?php endif; ?>
\ No newline at end of file diff --git a/dist/sidebar-templates/sidebar-left.php b/dist/sidebar-templates/sidebar-left.php deleted file mode 100644 index fb50b9a..0000000 --- a/dist/sidebar-templates/sidebar-left.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/** - * The sidebar containing the main widget area. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} - -if ( ! is_active_sidebar( 'left-sidebar' ) ) { - return; -} - -// when both sidebars turned on reduce col size to 3 from 4. -$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); -?> - -<?php if ( 'both' === $sidebar_pos ) : ?> -<div class="col-md-3 widget-area" id="left-sidebar" role="complementary"> - <?php else : ?> -<div class="col-md-4 widget-area" id="left-sidebar" role="complementary"> - <?php endif; ?> -<?php dynamic_sidebar( 'left-sidebar' ); ?> - -</div><!-- #left-sidebar --> diff --git a/dist/sidebar-templates/sidebar-right.php b/dist/sidebar-templates/sidebar-right.php deleted file mode 100644 index e5c4f62..0000000 --- a/dist/sidebar-templates/sidebar-right.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/** - * The right sidebar containing the main widget area. - * - * @package understrap - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} - -if ( ! is_active_sidebar( 'right-sidebar' ) ) { - return; -} - -// when both sidebars turned on reduce col size to 3 from 4. -$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); -?> - -<?php if ( 'both' === $sidebar_pos ) : ?> -<div class="col-md-2 widget-area" id="right-sidebar" role="complementary"> - <?php else : ?> -<div class="col-lg-4 widget-area" id="right-sidebar" role="complementary"> - <?php endif; ?> -<?php dynamic_sidebar( 'right-sidebar' ); ?> - -</div><!-- #right-sidebar --> diff --git a/dist/sidebar-templates/sidebar-statichero.php b/dist/sidebar-templates/sidebar-statichero.php deleted file mode 100644 index 2b6c53d..0000000 --- a/dist/sidebar-templates/sidebar-statichero.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * Static hero sidebar setup. - * - * @package understrap - */ - -$container = get_theme_mod( 'understrap_container_type' ); -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} - -?> - -<?php if ( is_active_sidebar( 'statichero' ) ) : ?> - - <!-- ******************* The Hero Widget Area ******************* --> - - <div class="wrapper" id="wrapper-static-hero"> - - <div class="<?php echo esc_attr( $container ); ?>" id="wrapper-static-content" tabindex="-1"> - - <div class="row"> - - <?php dynamic_sidebar( 'statichero' ); ?> - - </div> - - </div> - - </div><!-- #wrapper-static-hero --> - -<?php endif; ?> |
