*/
function boxwp_widgets_init() {
register_sidebar(array(
'id' => 'boxwp-header-banner',
'name' => esc_html__( 'Header Banner', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the header of the web page.', 'boxwp' ),
'before_widget' => '
',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-main-sidebar',
'name' => esc_html__( 'Main Sidebar', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the right-hand side of web page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-home-fullwidth-widgets',
'name' => esc_html__( 'Top Full Width Widgets (Home Page Only)', 'boxwp' ),
'description' => esc_html__( 'This full-width widget area is located at the top of homepage.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-fullwidth-widgets',
'name' => esc_html__( 'Top Full Width Widgets (Every Page)', 'boxwp' ),
'description' => esc_html__( 'This full-width widget area is located at the top of every page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-home-top-widgets',
'name' => esc_html__( 'Top Widgets (Home Page Only)', 'boxwp' ),
'description' => esc_html__( 'This widget area is located at the top of homepage.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-top-widgets',
'name' => esc_html__( 'Top Widgets (Every Page)', 'boxwp' ),
'description' => esc_html__( 'This widget area is located at the top of every page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-home-bottom-widgets',
'name' => esc_html__( 'Bottom Widgets (Home Page Only)', 'boxwp' ),
'description' => esc_html__( 'This widget area is located at the bottom of homepage.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-bottom-widgets',
'name' => esc_html__( 'Bottom Widgets (Every Page)', 'boxwp' ),
'description' => esc_html__( 'This widget area is located at the bottom of every page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-top-footer',
'name' => esc_html__( 'Footer Top', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the top of the footer.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-footer-1',
'name' => esc_html__( 'Footer 1', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the left bottom of web page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-footer-2',
'name' => esc_html__( 'Footer 2', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the middle bottom of web page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-footer-3',
'name' => esc_html__( 'Footer 3', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the middle bottom of web page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-footer-4',
'name' => esc_html__( 'Footer 4', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the right bottom of web page.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
register_sidebar(array(
'id' => 'boxwp-bottom-footer',
'name' => esc_html__( 'Footer Bottom', 'boxwp' ),
'description' => esc_html__( 'This sidebar is located on the bottom of the footer.', 'boxwp' ),
'before_widget' => '',
'before_title' => ''));
}
add_action( 'widgets_init', 'boxwp_widgets_init' );
function boxwp_top_wide_widgets() { ?>