__('Primary Sidebar', 'portfolioline'),
'id' => 'primary-sidebar',
'description' => __('Main sidebar that appears on the left.', 'portfolioline'),
'before_widget' => '
',
'before_title' => '',
));
// Area , located below the Secondry Widget Area in the sidebar. Empty by default.
register_sidebar(array(
'name' => __('Secondry Sidebar', 'portfolioline'),
'id' => 'secondary-sidebar',
'description' => __('Secondry sidebar that appears on the left.', 'portfolioline'),
'before_widget' => '',
'before_title' => '',
));
// Area 1, located in the footer. Empty by default.
register_sidebar(array(
'name' => __('First Footer Widget Area', 'portfolioline'),
'id' => 'first-footer-widget-area',
'description' => __('Appears in the first footer section of the site.', 'portfolioline'),
'before_widget' => '',
'before_title' => '',
));
// Area 2, located in the footer. Empty by default.
register_sidebar(array(
'name' => __('Second Footer Widget Area', 'portfolioline'),
'id' => 'second-footer-widget-area',
'description' => __('Appears in the Second footer section of the site.', 'portfolioline'),
'before_widget' => '',
'before_title' => '',
));
// Area 3, located in the footer. Empty by default.
register_sidebar(array(
'name' => __('Third Footer Widget Area', 'portfolioline'),
'id' => 'third-footer-widget-area',
'description' => __('Appears in the Third footer section of the site.', 'portfolioline'),
'before_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', 'portfolioline'),
'id' => 'fourth-footer-widget-area',
'description' => __('Appears in the Fourth footer section of the site.', 'portfolioline'),
'before_widget' => '',
'before_title' => '',
));
endif;
register_sidebar(array(
'name' => __('Home Page Our Services Widget', 'portfolioline'),
'id' => 'portfolioline-multi-feature-widget',
'description' => __('Appears in the Third Home Page multi column feature section of the site.', 'portfolioline'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
));
register_sidebar(array(
'name' => __('Home Page Testimonial Widget', 'portfolioline'),
'id' => 'portfolioline-testimonial-widget',
'description' => __('Appears in the Third Home Page testimonial section of the site.', 'portfolioline'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
));
}
/** Register sidebars by running th_widgets_init() on the widgets_init hook. */
add_action('widgets_init', 'th_widgets_init');