/** * Register Beans's default widget areas. * * @since 1.0.0 */ function beans_do_register_widget_areas() { // Keep primary sidebar first for default widget asignment. beans_register_widget_area(array('name' => __('Sidebar Primary', 'tm-beans'), 'id' => 'sidebar_primary')); beans_register_widget_area(array('name' => __('Sidebar Secondary', 'tm-beans'), 'id' => 'sidebar_secondary')); if (current_theme_supports('offcanvas-menu')) { beans_register_widget_area(array('name' => __('Off-Canvas Menu', 'tm-beans'), 'id' => 'offcanvas_menu', 'beans_type' => 'offcanvas')); } }
function banks_register_bottom_widget_area() { beans_register_widget_area( array( 'name' => 'Footer', 'id' => 'footer', 'description' => 'Widgets in this area will be shown in the footer section as a grid.', 'beans_type' => 'grid' ) ); }
function flipster_below_post_widget_area() { beans_register_widget_area(array('name' => 'Below Post', 'id' => 'below-post', 'beans_type' => 'stack')); }
function bench_register_bottom_widget_area() { beans_register_widget_area(array('name' => 'Bottom Footer', 'id' => 'bottom', 'description' => 'Widgets in this area will be shown in the bottom section as a grid.', 'beans_type' => 'grid')); }