Sidebar
// Register Sidebar
function gbwa_register_sidebar() {
$args = array(
'id' => 'sidebar-aside',
'name' => __( 'Primary Widget Area', 'gbwa' ),
'description' => __( 'Aside Widgets.', 'gbwa' ),
'class' => 'sidebar-widget',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'gbwa_register_sidebar' );