__('Primary Sidebar', 'blogangel'),
'id' => 'primary-sidebar',
'description' => __('Main sidebar that appears on the left.', 'blogangel'),
'before_widget' => '
',
'before_title' => '',
));
// Area , located below the Secondry Widget Area in the sidebar. Empty by default.
register_sidebar(array(
'name' => __('Secondry Sidebar', 'blogangel'),
'id' => 'secondary-sidebar',
'description' => __('Secondry sidebar that appears on the left.', 'blogangel'),
'before_widget' => '',
'before_title' => '',
));
// Area 1, located in the footer. Empty by default.
register_sidebar(array(
'name' => __('First Footer Widget Area', 'blogangel'),
'id' => 'first-footer-widget-area',
'description' => __('Appears in the first footer section of the site.', 'blogangel'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
// Area 2, located in the footer. Empty by default.
register_sidebar(array(
'name' => __('Second Footer Widget Area', 'blogangel'),
'id' => 'second-footer-widget-area',
'description' => __('Appears in the Second footer section of the site.', 'blogangel'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
// Area 3, located in the footer. Empty by default.
register_sidebar(array(
'name' => __('Third Footer Widget Area', 'blogangel'),
'id' => 'third-footer-widget-area',
'description' => __('Appears in the Third footer section of the site.', 'blogangel'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
// Area 4, located in the footer. Empty by default.
if(get_theme_mod('footer_layout','footer-widget-4column-active')=='footer-widget-4column-active'):
register_sidebar(array(
'name' => __('Fourth Footer Widget Area', 'blogangel'),
'id' => 'fourth-footer-widget-area',
'description' => __('Appears in the Fourth footer section of the site.', 'blogangel'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
endif;
register_sidebar(array(
'name' => __('Home Page Instagram Widget', 'blogangel'),
'id' => 'instagram-footer-widget',
'description' => __('Appears in the Third Home Page footer section of the site.', 'blogangel'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
}
/** Register sidebars by running th_widgets_init() on the widgets_init hook. */
add_action('widgets_init', 'th_widgets_init');