<?php


/* ------------------ @EXTHEM.ES ------------------ */    
if ( function_exists('register_sidebar') )
    register_sidebar(array(
        'id'                => 'editor-choices',
        'name'              => 'Slider Home',
        'description'       => __( 'Widgets in this area will be shown on Slider Home', TEXT_DOMAIN ),
        'before_widget'     => '<section class="mb-2">',
        'after_widget'      => '</section>',
        'before_title'      => '<h2 class="h5 font-weight-semibold mb-3"><span class="border-bottom-2 border-secondary d-inline-block pb-1">',
        'after_title'       => '</span></h2><div style="clear:both"></div>',
));
if ( function_exists('register_sidebar') )
    register_sidebar(array(
        'id'                => 'home-popular',
        'name'              => 'Home Post',
		'description'       => __( 'Widgets in this area will be shown only Home Post', TEXT_DOMAIN ),
        'before_widget'     => '<section class="mb-2">',
        'after_widget'      => '</section>',
        'before_title'      => '<h2 class="h5 font-weight-semibold mb-3"><span class="border-bottom-2 border-secondary d-inline-block pb-1">',
        'after_title'       => '</span></h2><div style="clear:both"></div>',
));
/* if ( function_exists('register_sidebar') )
    register_sidebar(array(
        'id'                => 'news-homes',
        'name'              => TEXT_DOMAIN.' News Home',
        'description'       => __( 'Widgets in this area will be shown on News Home', TEXT_DOMAIN ),
        'before_widget'     => '<section class="mb-2">',
        'after_widget'      => '</section>',
        'before_title'      => '<h2 class="h5 font-weight-semibold mb-3"><span class="border-bottom-2 border-secondary d-inline-block pb-1">',
        'after_title'       => '</span></h2><div style="clear:both"></div>',
)); */
if ( function_exists('register_sidebar') )
    global $opt_themes; 
    register_sidebar(array(
        'id'                => 'sidebar-home-1',
        'name'              => 'Sidebar Home Top',
		'description'       => __( 'Widgets in this area will be shown on sidebar only Home Top.', TEXT_DOMAIN ),
        'before_widget'     => '<section class="rounded shadow-sm pt-2 px-2 px-md-2 mb-2">',
        'after_widget'      => '</section>',
        'before_title'      => '<h2 class="h5 font-weight-semibold mb-3"><span class="border-bottom-2 border-secondary d-inline-block pb-1">',
        'after_title'       => '</span></h2><div style="clear:both"></div>',
));

/* ------------------ @EXTHEM.ES ------------------ */    
if ( function_exists('register_sidebar') )
    register_sidebar(array(
        'id'                => 'sidebar-home-2',
        'name'              => 'Sidebar Home Bottom',
		'description'       => __( 'Widgets in this area will be shown on sidebar only Home Bottom.', TEXT_DOMAIN ),
        'before_widget'     => '<section class="rounded shadow-sm pt-2 px-2 px-md-2 mb-2">',
        'after_widget'      => '</section>',
        'before_title'      => '<h2 class="h5 font-weight-semibold mb-3"><span class="border-bottom-2 border-secondary d-inline-block pb-1">',
        'after_title'       => '</span></h2><div style="clear:both"></div>',
));

/* ------------------ @EXTHEM.ES ------------------ */    
if ( function_exists('register_sidebar') )
    register_sidebar(array(
        'id'                => 'sidebar-1',
        'name'              => 'Sidebar Post',
		'description'       => __( 'Widgets in this area will be shown on sidebar Post', TEXT_DOMAIN ),
        'before_widget'     => '<section class="rounded shadow-sm pt-2 px-2 px-md-2 mb-2">',
        'after_widget'      => '</section>',
        'before_title'      => '<h2 class="h5 font-weight-semibold mb-3"><span class="border-bottom-2 border-secondary d-inline-block pb-1">',
        'after_title'       => '</span></h2><div style="clear:both"></div>',
));

require EX_THEMES_DIR.'/libs/widget/widget-slider.php';
require EX_THEMES_DIR.'/libs/widget/widget-slider-by-id.php';
require EX_THEMES_DIR.'/libs/widget/widget-home.php';
require EX_THEMES_DIR.'/libs/widget/widget-news.php';
require EX_THEMES_DIR.'/libs/widget/widget-sidebar.php';
require EX_THEMES_DIR.'/libs/widget/widget-sidebar-rate.php';
require EX_THEMES_DIR.'/libs/widget/widget-sidebar-cat.php';
require EX_THEMES_DIR.'/libs/widget/widget-cat.php';
require EX_THEMES_DIR.'/libs/widget/widget-sidebar-kat.php';
require EX_THEMES_DIR.'/libs/widget/widget-home-cat.php';
require EX_THEMES_DIR.'/libs/widget/widget-sidebar-related.php';
/*-----------------------------------------------------------------------------------*/
/*  Other widget
/*-----------------------------------------------------------------------------------*/  