Footer Widgets
this will display at the bottom of the page
// Register Sidebars
function custom_sidebar_function() {
$args = array(
'id' => 'footer_sidebar1',
'class' => 'footer_sidebar1',
'name' => __( 'Footer Sidebar1', 'buygravity' ),
'description' => __( 'This will display in the footer.', 'buygravity' ),
'before_title' => '<h3 class="footer-nav-heading">',
'after_title' => '</h3>',
'before_widget' => '<div class="wpb_column vc_column_container vc_col-sm-3 vc_col-xs-12"><div>',
'after_widget' => '</div></div>',
);
register_sidebar( $args );
$args = array(
'id' => 'footer_sidebar2',
'class' => 'footer_sidebar2',
'name' => __( 'Footer Sidebar2', 'buygravity' ),
'description' => __( 'This will display in the footer.', 'buygravity' ),
'before_title' => '<h3 class="footer-nav-heading">',
'after_title' => '</h3>',
'before_widget' => '<div class="wpb_column vc_column_container vc_col-sm-3 vc_col-xs-12"><div>',
'after_widget' => '</div></div>',
);
register_sidebar( $args );
$args = array(
'id' => 'footer_sidebar3',
'class' => 'footer_sidebar3',
'name' => __( 'Footer Sidebar3', 'buygravity' ),
'description' => __( 'This will display in the footer.', 'buygravity' ),
'before_title' => '<h3 class="footer-nav-heading">',
'after_title' => '</h3>',
'before_widget' => '<div class="wpb_column vc_column_container vc_col-sm-3 vc_col-xs-12"><div>',
'after_widget' => '</div></div>',
);
register_sidebar( $args );
$args = array(
'id' => 'footer_sidebar4',
'class' => 'footer_sidebar4',
'name' => __( 'Footer Sidebar4', 'buygravity' ),
'description' => __( 'This will display in the footer.', 'buygravity' ),
'before_title' => '<h3 class="footer-nav-heading">',
'after_title' => '</h3>',
'before_widget' => '<div class="wpb_column vc_column_container vc_col-sm-3 vc_col-xs-12"><div>',
'after_widget' => '</div></div>',
);
register_sidebar( $args );
}
add_action( 'widgets_init', 'custom_sidebar_function' );