<?php
/**
 * Functions Sidebar
 *
 * Functions for Sidebar initialization
 *
 * @package        Responsive
 * @license        license.txt
 * @copyright      2014 CyberChimps
 * @since          1.9.5.0
 *
 * Please do not edit this file. This file is part of the Responsive and all modifications
 * should be made in a child theme.
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * WordPress Widgets start right here.
 */
function responsive_widgets_init() {

	register_sidebar(
		array(
			'name'          => __( 'Main Sidebar', 'responsive' ),
			'description'   => __( 'Area 1 - sidebar.php - Displays on Default, Blog, Blog Excerpt page templates', 'responsive' ),
			'id'            => 'main-sidebar',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget-wrapper %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Home Widget 1', 'responsive' ),
			'description'   => __( 'Area 6 - sidebar-home.php - Displays on the Home Page', 'responsive' ),
			'id'            => 'home-widget-1',
			'before_title'  => '<div id="widget-title-one" class="widget-title-home"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget-wrapper %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Home Widget 2', 'responsive' ),
			'description'   => __( 'Area 7 - sidebar-home.php - Displays on the Home Page', 'responsive' ),
			'id'            => 'home-widget-2',
			'before_title'  => '<div id="widget-title-two" class="widget-title-home"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget-wrapper %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Home Widget 3', 'responsive' ),
			'description'   => __( 'Area 8 - sidebar-home.php - Displays on the Home Page', 'responsive' ),
			'id'            => 'home-widget-3',
			'before_title'  => '<div id="widget-title-three" class="widget-title-home"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget-wrapper %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Gallery Sidebar', 'responsive' ),
			'description'   => __( 'Area 9 - sidebar-gallery.php - Displays on the page after an image has been clicked in a Gallery', 'responsive' ),
			'id'            => 'gallery-widget',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget-wrapper %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Colophon Widget', 'responsive' ),
			'description'   => __( 'Area 10 - sidebar-colophon.php, 100% width Footer widgets', 'responsive' ),
			'id'            => 'colophon-widget',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="colophon-widget widget-wrapper %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Header Widgets', 'responsive' ),
			'description'   => __( 'Area 11 - sidebar-header.php - Displays on the right of the header', 'responsive' ),
			'id'            => 'header-widgets',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Mobile Header Widgets', 'responsive' ),
			/* translators: Widgets area description. */
			'description'   => __( 'Mobile-only area - Displays in the mobile header widgets section', 'responsive' ),
			'id'            => 'mobile-header-widgets',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="widget %2$s">',
			'after_widget'  => '</div>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Footer Widgets 1', 'responsive' ),
			'description'   => __( 'Area 12 - sidebar-footer.php', 'responsive' ),
			'id'            => 'footer-widget-1',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="grid col %2$s"><div class="footer-widget-wrapper">',
			'after_widget'  => '</div></div>',
		)
	);
	register_sidebar(
		array(
			'name'          => __( 'Footer Widgets 2', 'responsive' ),
			'description'   => __( 'Area 13 - sidebar-footer.php', 'responsive' ),
			'id'            => 'footer-widget-2',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="grid col %2$s"><div class="footer-widget-wrapper">',
			'after_widget'  => '</div></div>',
		)
	);
	register_sidebar(
		array(
			'name'          => __( 'Footer Widgets 3', 'responsive' ),
			'description'   => __( 'Area 14 - sidebar-footer.php', 'responsive' ),
			'id'            => 'footer-widget-3',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="grid col %2$s"><div class="footer-widget-wrapper">',
			'after_widget'  => '</div></div>',
		)
	);
	register_sidebar(
		array(
			'name'          => __( 'Footer Widgets 4', 'responsive' ),
			'description'   => __( 'Area 15 - sidebar-footer.php', 'responsive' ),
			'id'            => 'footer-widget-4',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="grid col %2$s"><div class="footer-widget-wrapper">',
			'after_widget'  => '</div></div>',
		)
	);
	register_sidebar(
		array(
			'name'          => __( 'Footer Widgets 5', 'responsive' ),
			'description'   => __( 'Area 16 - sidebar-footer.php', 'responsive' ),
			'id'            => 'footer-widget-5',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="grid col %2$s"><div class="footer-widget-wrapper">',
			'after_widget'  => '</div></div>',
		)
	);
	register_sidebar(
		array(
			'name'          => __( 'Footer Widgets 6', 'responsive' ),
			'description'   => __( 'Area 17 - sidebar-footer.php', 'responsive' ),
			'id'            => 'footer-widget-6',
			'before_title'  => '<div class="widget-title"><h4>',
			'after_title'   => '</h4></div>',
			'before_widget' => '<div id="%1$s" class="grid col %2$s"><div class="footer-widget-wrapper">',
			'after_widget'  => '</div></div>',
		)
	);
}
add_action( 'widgets_init', 'responsive_widgets_init' );
