File: /home/vmasmheia229/domains/overtoneband.com/html/wp-content/themes/bigcity/functions/sidebars.php
<?php
function bigcity_widgets_init() {
// Area 0, located at the top of the sidebar.
register_sidebar( array(
'name' => __( 'Primary Widget Area', 'BigCity' ),
'id' => 'primary-widget-area',
'description' => __( 'The primary widget area', 'BigCity' ),
'before_widget' => '<li id="%1$s" class="widget-container %2$s widget">',
'after_widget' => '</li><li class="widget_box_shadow"></li>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
// Area 1, located in header.
register_sidebar( array(
'name' => __( 'Header Widget Area', 'BigCity' ),
'id' => 'header-widget-area',
'description' => __( 'The header widget area', 'BigCity' ),
'before_widget' => '<li id="%1$s" class="%2$s">',
'after_widget' => '</li>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
// Area 2, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'First Footer Widget Area', 'BigCity' ),
'id' => 'first-footer-widget-area',
'description' => __( 'The first footer widget area', 'BigCity' ),
'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
'after_widget' => '</li>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
// Area 3, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'Second Footer Widget Area', 'BigCity' ),
'id' => 'second-footer-widget-area',
'description' => __( 'The second footer widget area', 'BigCity' ),
'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
'after_widget' => '</li>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
// Area 4, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'Third Footer Widget Area', 'BigCity' ),
'id' => 'third-footer-widget-area',
'description' => __( 'The third footer widget area', 'BigCity' ),
'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
'after_widget' => '</li>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
// Area 5, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'Fourth Footer Widget Area', 'BigCity' ),
'id' => 'fourth-footer-widget-area',
'description' => __( 'The fourth footer widget area', 'BigCity' ),
'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
'after_widget' => '</li>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
}
/** Register sidebars by running bigcity_widgets_init() on the widgets_init hook. */
add_action( 'widgets_init', 'bigcity_widgets_init' );
?>