SideBarSnippetExpanded
A huge load of defined sidebars
if ( ! function_exists( 'hcc_themed_custom_sidebars' ) ) {
// Register Sidebars
function hcc_themed_custom_sidebars() {
$args = array(
'id' => 'primary-section',
'class' => 'clsprimarymenu',
'name' => __( 'Primary Widget Area', 'text_domain' ),
'description' => __( 'Primary Section Widgets.', 'text_domain' ),
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
);
register_sidebar( $args );
$args = array(
'id' => 'secondary-section',
'class' => 'clsmenusecondary',
'name' => __( 'Secondary Widget Area', 'text_domain' ),
'description' => __( 'Section Widgets.', 'text_domain' ),
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
);
register_sidebar( $args );
$args = array(
'id' => 'above-content1-section',
'class' => 'clsabovecontent1',
'name' => __( 'Above Content 1', 'text_domain' ),
'description' => __( 'Above Content 1 Section Widget', 'text_domain' ),
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
);
register_sidebar( $args );
}
add_action( 'widgets_init', 'hcc_themed_custom_sidebars' );
}