*/ function boldwp_widgets_init() { register_sidebar(array( 'id' => 'boldwp-header-ad', 'name' => esc_html__( 'Header Right Widgets', 'boldwp' ), 'description' => esc_html__( 'This widget area is located on the right side of the header of your web page. You can drag and drop a "Custom HTML" widget into this widget area and add your 728x90 banner ad code into that widget.', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-sidebar', 'name' => esc_html__( 'Sidebar Widgets (Everywhere)', 'boldwp' ), 'description' => esc_html__( 'This widget area is located on the sidebar of your website. Widgets of this widget area are displayed on every page of your website.', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-home-sidebar', 'name' => esc_html__( 'Sidebar Widgets (Default HomePage)', 'boldwp' ), 'description' => esc_html__( 'This widget area is located on the sidebar of your website. Widgets of this widget area are displayed on the default homepage of your website (when you are showing your latest posts on homepage).', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-top-widgets', 'name' => esc_html__( 'Above Content Widgets (Everywhere)', 'boldwp' ), 'description' => esc_html__( 'This widget area is located at the top of the main content of your website. Widgets of this widget area are displayed on every page of your website.', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-home-top-widgets', 'name' => esc_html__( 'Above Content Widgets (Default HomePage)', 'boldwp' ), 'description' => esc_html__( 'This widget area is located at the top of the main content of your website. Widgets of this widget area are displayed on the default homepage of your website (when you are showing your latest posts on homepage).', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-bottom-widgets', 'name' => esc_html__( 'Below Content Widgets (Everywhere)', 'boldwp' ), 'description' => esc_html__( 'This widget area is located at the bottom of the main content of your website. Widgets of this widget area are displayed on every page of your website.', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-home-bottom-widgets', 'name' => esc_html__( 'Below Content Widgets (Default HomePage)', 'boldwp' ), 'description' => esc_html__( 'This widget area is located at the bottom of the main content of your website. Widgets of this widget area are displayed on the default homepage of your website (when you are showing your latest posts on homepage).', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-fullwidth-widgets', 'name' => esc_html__( 'Top Full Width Widgets (Everywhere)', 'boldwp' ), 'description' => esc_html__( 'This full-width widget area is located after the primary menu of your website. Widgets of this widget area are displayed on every page of your website.', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-home-fullwidth-widgets', 'name' => esc_html__( 'Top Full Width Widgets (Default HomePage)', 'boldwp' ), 'description' => esc_html__( 'This full-width widget area is located after the primary menu of your website. Widgets of this widget area are displayed on the default homepage of your website (when you are showing your latest posts on homepage).', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-fullwidth-bottom-widgets', 'name' => esc_html__( 'Bottom Full Width Widgets (Everywhere)', 'boldwp' ), 'description' => esc_html__( 'This full-width widget area is located before the footer of your website. Widgets of this widget area are displayed on every page of your website.', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-home-fullwidth-bottom-widgets', 'name' => esc_html__( 'Bottom Full Width Widgets (Default HomePage)', 'boldwp' ), 'description' => esc_html__( 'This full-width widget area is located before the footer of your website. Widgets of this widget area are displayed on the default homepage of your website (when you are showing your latest posts on homepage).', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-single-post-bottom-widgets', 'name' => esc_html__( 'Single Post Bottom Widgets', 'boldwp' ), 'description' => esc_html__( 'This widget area is located at the bottom of single post of any post type (except attachments and pages).', 'boldwp' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-top-footer', 'name' => esc_html__( 'Footer Top', 'boldwp' ), 'description' => esc_html__( 'This widget area is located on the top of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-footer-1', 'name' => esc_html__( 'Footer 1', 'boldwp' ), 'description' => esc_html__( 'This widget area is the column 1 of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-footer-2', 'name' => esc_html__( 'Footer 2', 'boldwp' ), 'description' => esc_html__( 'This widget area is the column 2 of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-footer-3', 'name' => esc_html__( 'Footer 3', 'boldwp' ), 'description' => esc_html__( 'This widget area is the column 3 of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-footer-4', 'name' => esc_html__( 'Footer 4', 'boldwp' ), 'description' => esc_html__( 'This widget area is the column 4 of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-footer-5', 'name' => esc_html__( 'Footer 5', 'boldwp' ), 'description' => esc_html__( 'This widget area is the column 5 of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); register_sidebar(array( 'id' => 'boldwp-bottom-footer', 'name' => esc_html__( 'Footer Bottom', 'boldwp' ), 'description' => esc_html__( 'This widget area is located on the bottom of the footer of your website.', 'boldwp' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

')); } add_action( 'widgets_init', 'boldwp_widgets_init' ); function boldwp_sidebar_one_widgets() { if ( is_front_page() && is_home() && !is_paged() ) { dynamic_sidebar( 'boldwp-home-sidebar' ); } dynamic_sidebar( 'boldwp-sidebar' ); } function boldwp_top_wide_widgets() { ?>