register_sidebar():
Using this function you can create single sidebar in one time like as:

add_action( 'widgets_init', 'dynamic_custom_widgets_init' );
function dynamic_custom_widgets_init() {
register_sidebar( array(
'name' => __( 'Main Sidebar', 'text-domain-name' ),
'id' => 'main-sidebar', // this should be unique for each sidebar in your theme
'description' => __( 'Description about location of use this sidebar.', 'text-domain-name' ),
'before_widget' => '<div id="%1$s" class="widget-box %2$s">',// this will be used before widget out put
'after_widget' => '</div>',// this will be used at end of widget out put
'before_title' => '<h2 class="widge-ttitle">',
'after_title' => '</h2>',
) );
}

register_sidebars():
Using this function you can create more then one sidebar in one time like as:

add_action( 'widgets_init', 'dynamic_custom_widgets_init' );
function dynamic_custom_widgets_init() {
register_sidebar(4, array(
'name' => __( 'Footer %d', 'text-domain-name' ),
'description' => __( 'Description about location of use this sidebar.', 'text-domain-name' ),
'before_widget' => '<div id="%1$s" class="widget-box %2$s">',// this will be used before widget out put
'after_widget' => '</div>',// this will be used at end of widget out put
'before_title' => '<h2 class="widge-ttitle">',
'after_title' => '</h2>',
) );
}

Note:The args array parameter can contain a ‘name’ which will be prepended to the sidebar number if there is more than one sidebar. If no name is specified, ‘Sidebar’ is used.

INSTANT CONSULTATION REQUEST

Please fill in your brief details and we will get in touch at the earliest with a solution.