Sidebar Footer
// Register Sidebar
function custom_sidebar() {
$args = array(
'id' => 'sidebar-footer',
'name' => __( 'Footer Widget', 'virtue' ),
'description' => __( 'Sidebar for the footer', 'virtue' ),
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<aside id="%1$s"> role="complementary" class"widget %2$s">',
'after_widget' => '</aside>',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'custom_sidebar' );