__( 'Primary Sidebar', 'catchflames' ),
'id' => 'sidebar-1',
'description' => __( 'This is the primary sidebar if you are using a two or three column site layout option.', 'catchflames' ),
'before_widget' => '",
'before_title' => '
',
) );
//Secondary Sidebar
register_sidebar( array(
'name' => __( 'Secondary Sidebar', 'catchflames' ),
'id' => 'catchflames_third',
'description' => __( 'This is the secondary sidebar if you are using a three column site layout option.', 'catchflames' ),
'before_widget' => '",
'before_title' => '',
) );
// WooCommerce Sidebar
if ( class_exists( 'Woocommerce' ) ) {
register_sidebar( array(
'name' => __( 'WooCommerce Sidebar', 'catchflames' ),
'id' => 'catchflames_woocommerce_sidebar',
'before_widget' => '",
'before_title' => '',
) );
}
//Footer One Sidebar
register_sidebar( array(
'name' => __( 'Footer Area One', 'catchflames' ),
'id' => 'sidebar-2',
'description' => __( 'An optional widget area for your site footer', 'catchflames' ),
'before_widget' => '",
'before_title' => '',
) );
//Footer Two Sidebar
register_sidebar( array(
'name' => __( 'Footer Area Two', 'catchflames' ),
'id' => 'sidebar-3',
'description' => __( 'An optional widget area for your site footer', 'catchflames' ),
'before_widget' => '",
'before_title' => '',
) );
//Footer Three Sidebar
register_sidebar( array(
'name' => __( 'Footer Area Three', 'catchflames' ),
'id' => 'sidebar-4',
'description' => __( 'An optional widget area for your site footer', 'catchflames' ),
'before_widget' => '",
'before_title' => '',
) );
}
add_action( 'widgets_init', 'catchflames_widgets_init' );