<?php	
/**
 * The sidebar containing the main widget area.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Hotel 26
 */

/**
 * Register widget area.
 *
 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
 */

function hotel_26_widgets_init() {	
	register_sidebar( array(
		'name' => __( 'Header Left Widget Area', 'hotel-26' ),
		'id' => 'hotel26-header-left',
		'description' => __( 'The Header Widget Area', 'hotel-26' ),
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget' => '</aside>',
		'before_title' => '<h5 class="widget-title"><span></span>',
		'after_title' => '</h5>',
	) );
	
	register_sidebar( array(
		'name' => __( 'Header Right Widget Area', 'hotel-26' ),
		'id' => 'hotel26-header-right',
		'description' => __( 'The Header Widget Area', 'hotel-26' ),
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget' => '</aside>',
		'before_title' => '<h5 class="widget-title"><span></span>',
		'after_title' => '</h5>',
	) );
	
	register_sidebar( array(
		'name' => __( 'Sidebar Widget Area', 'hotel-26' ),
		'id' => 'hotel-26-sidebar-primary',
		'description' => __( 'The Primary Widget Area', 'hotel-26' ),
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget' => '</aside>',
		'before_title' => '<h5 class="widget-title"><span></span>',
		'after_title' => '</h5>',
	) );	
	 
	register_sidebar( array(
		'name' => __( 'Footer Column 1', 'hotel-26' ),
		'id' => 'hotel-26-footer-1',
		'description' => __( 'The Footer Widget Area', 'hotel-26' ),
		'before_widget' => ' <div class=" widget %2$s col-12 col-sm-6 col-lg-4 wow fadeInUp" data-wow-delay="200ms" data-wow-duration="1500ms"><aside class="%1$s">',
		'after_widget' => '</aside></div>',
		'before_title' => '<h5 class="widget-title">',
		'after_title' => '</h5>',
	) );
	 
	register_sidebar( array(
		'name' => __( 'Footer Column 2', 'hotel-26' ),
		'id' => 'hotel-26-footer-2',
		'description' => __( 'The Footer Widget Area', 'hotel-26' ),
		'before_widget' => ' <div class=" widget %2$s col-12 col-sm-6 col-lg-4 wow fadeInUp" data-wow-delay="200ms" data-wow-duration="1500ms"><aside class="%1$s">',
		'after_widget' => '</aside></div>',
		'before_title' => '<h5 class="widget-title">',
		'after_title' => '</h5>',
	) );
	 
	register_sidebar( array(
		'name' => __( 'Footer Column 3', 'hotel-26' ),
		'id' => 'hotel-26-footer-3',
		'description' => __( 'The Footer Widget Area', 'hotel-26' ),
		'before_widget' => ' <div class=" widget %2$s col-12 col-sm-6 col-lg-4 wow fadeInUp" data-wow-delay="200ms" data-wow-duration="1500ms"><aside class="%1$s">',
		'after_widget' => '</aside></div>',
		'before_title' => '<h5 class="widget-title">',
		'after_title' => '</h5>',
	) );	
}
add_action( 'widgets_init', 'hotel_26_widgets_init' );
?>