<?php

/* Theme Widgets Setup */
function hardware_dealer_pro_widgets_init() {
	register_sidebar( array(
     'name'          => __( 'Blog Right Sidebar', 'hardware-dealer-pro' ),
     'description'   => __( 'Appears on blog page sidebar', 'hardware-dealer-pro' ),
     'id'            => 'sidebar-1',
     'before_widget' => '<aside id="%1$s" class="widget %2$s">',
     'after_widget'  => '</aside>',
     'before_title'  => '<h3 class="widget-title">',
     'after_title'   => '</h3>',
   ) );
   register_sidebar( array(
     'name'          => __( 'Blog Left Sidebar', 'hardware-dealer-pro' ),
     'description'   => __( 'Appears on blog page sidebar', 'hardware-dealer-pro' ),
     'id'            => 'sidebar-left',
     'before_widget' => '<aside id="%1$s" class="widget %2$s">',
     'after_widget'  => '</aside>',
     'before_title'  => '<h3 class="widget-title" >',
     'after_title'   => '</h3>',
   ) );
   register_sidebar( array(
     'name'          => __( 'Page Right Sidebar', 'hardware-dealer-pro' ),
     'description'   => __( 'Appears on page sidebar', 'hardware-dealer-pro' ),
     'id'            => 'sidebar-2',
     'before_widget' => '<aside id="%1$s" class="widget %2$s">',
     'after_widget'  => '</aside>',
     'before_title'  => '<h3 class="widget-title">',
     'after_title'   => '</h3>',
   ) );
   register_sidebar( array(
     'name'          => __( 'Page Left Sidebar', 'hardware-dealer-pro' ),
     'description'   => __( 'Appears on page sidebar', 'hardware-dealer-pro' ),
     'id'            => 'sidebar-page-left',
     'before_widget' => '<aside id="%1$s" class="widget %2$s">',
     'after_widget'  => '</aside>',
     'before_title'  => '<h3 class="widget-title">',
     'after_title'   => '</h3>',
   ) );
}
add_action( 'widgets_init', 'hardware_dealer_pro_widgets_init' );
