<?php 
// Register widgetized areas
function alinan_wp_widgets_init() {

    register_sidebar( array (
		'name' => esc_html__( 'Main Sidebar (Right)', 'alinan-wp' ),
		'id' => 'sidebarmain_alinan_wp',
		'description'   => esc_html__( 'Add widgets here to appear in the sidebar: article page / category / tag / author / search page, etc.', 'alinan-wp' ),
		'before_widget' => '<div class="widget %2$s">',
		'after_widget' => '</div><div class="clear"></div><div class="line_widget_col"></div>',
		'before_title' => '<div class="widget-title"><h3>',
		'after_title' => '</h3></div><div class="clear"></div>',
	) );

    register_sidebar( array (
		'name' => esc_html__( 'Default Page Sidebar (Right)', 'alinan-wp' ),
		'id' => 'sidebarpage_alinan_wp',
		'description'   => esc_html__( 'Add widgets here to appear in the sidebar.', 'alinan-wp' ),
		'before_widget' => '<div class="widget %2$s">',
		'after_widget' => '</div><div class="clear"></div><div class="line_widget_col"></div>',
		'before_title' => '<div class="widget-title"><h3>',
		'after_title' => '</h3></div><div class="clear"></div>',
	) );

    register_sidebar( array (
		'name' => esc_html__( 'Footer Sidebar 1', 'alinan-wp' ),
		'id' => 'footer1_alinan_wp',
		'description'   => esc_html__( 'Add widgets here to appear in the footer.', 'alinan-wp' ),
		'before_widget' => '<div class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="title"><span>',
		'after_title' => '</span></h3><div class="clear"></div>',
	) );

    register_sidebar( array (
		'name' => esc_html__( 'Footer Sidebar 2', 'alinan-wp' ),
		'id' => 'footer2_alinan_wp',
		'description'   => esc_html__( 'Add widgets here to appear in the footer.', 'alinan-wp' ),
		'before_widget' => '<div class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="title"><span>',
		'after_title' => '</span></h3><div class="clear"></div>',
	) );

    register_sidebar( array (
		'name' => esc_html__( 'Footer Sidebar 3', 'alinan-wp' ),
		'id' => 'footer3_alinan_wp',
		'description'   => esc_html__( 'Add widgets here to appear in the footer.', 'alinan-wp' ),
		'before_widget' => '<div class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="title"><span>',
		'after_title' => '</span></h3><div class="clear"></div>',
	) );

    register_sidebar( array (
		'name' => esc_html__( 'Footer Sidebar 4', 'alinan-wp' ),
		'id' => 'footer4_alinan_wp',
		'description'   => esc_html__( 'Add widgets here to appear in the footer.', 'alinan-wp' ),
		'before_widget' => '<div class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="title"><span>',
		'after_title' => '</span></h3><div class="clear"></div>',
	) );

}

add_action( 'init', 'alinan_wp_widgets_init' );
?>