<?php
/**
 * Sidebar setup for footer full
 *
 * @package Wrock Metro
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

$container = get_theme_mod( 'wrockmetro_container_type' );

?>

<?php if ( is_active_sidebar( 'footerfull' )  ||  is_active_sidebar( 'footerwidone' ) ||  is_active_sidebar( 'footerwidtwo' ) ||  is_active_sidebar( 'footerwidthree' )  ) : ?>

	<!-- ******************* The Footer Full-width Widget Area ******************* -->

	<div class="wrapper" id="wrapper-footer-full" role="complementary">

		<div class="<?php echo esc_attr( $container ); ?>" id="footer-full-content" tabindex="-1">

			<div class="row">

				<?php dynamic_sidebar( 'footerfull' ); ?>

			</div>
			<div class="row">
					<div class="col-md-4 widget-area" id="left-sidebar" <?php wrockmetro_do_schema( 'sidebar' ); ?>>
						<?php dynamic_sidebar( 'footerwidone' ); ?>
					</div>
					<div class="col-md-4 widget-area" id="left-sidebar" <?php wrockmetro_do_schema( 'sidebar' ); ?>>
						<?php dynamic_sidebar( 'footerwidtwo' ); ?>
					</div>
					<div class="col-md-4 widget-area" id="left-sidebar" <?php wrockmetro_do_schema( 'sidebar' ); ?>>
						<?php dynamic_sidebar( 'footerwidthree' ); ?>
					</div>
			</div>

		</div>

	</div><!-- #wrapper-footer-full -->

	<?php
endif;
