2016-11-21 18:47:05 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2019-11-14 17:16:31 +00:00
|
|
|
* Sidebar - hero setup
|
2016-11-21 18:47:05 +00:00
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
2016-01-22 13:02:32 +00:00
|
|
|
|
2019-06-20 08:57:12 +00:00
|
|
|
// Exit if accessed directly.
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
2016-11-21 18:47:05 +00:00
|
|
|
?>
|
2016-01-22 13:02:32 +00:00
|
|
|
|
2016-11-21 18:47:05 +00:00
|
|
|
<?php if ( is_active_sidebar( 'hero' ) ) : ?>
|
2016-01-22 13:02:32 +00:00
|
|
|
|
2016-11-21 18:47:05 +00:00
|
|
|
<!-- ******************* The Hero Widget Area ******************* -->
|
2016-01-22 13:02:32 +00:00
|
|
|
|
2018-11-18 23:03:59 +00:00
|
|
|
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
|
2017-01-27 14:37:59 +00:00
|
|
|
|
2018-11-18 23:03:59 +00:00
|
|
|
<div class="carousel-inner" role="listbox">
|
2016-01-22 13:02:32 +00:00
|
|
|
|
2016-11-21 18:47:05 +00:00
|
|
|
<?php dynamic_sidebar( 'hero' ); ?>
|
|
|
|
|
2018-11-18 23:03:59 +00:00
|
|
|
</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>
|
2017-04-14 21:13:17 +00:00
|
|
|
|
2019-07-04 14:58:08 +00:00
|
|
|
<?php endif;
|