Enabling AudioTheme Widgets in Third-party Themes

Included Widgets

A few default widgets are included in the AudioTheme framework and can be selectively enabled in themes:

function themename_setup_widgets() {
    add_theme_support( 'audiotheme-widgets', array(
        'recent-posts',
        'record',
        'track',
        'upcoming-gigs',
        'video',
    ) );
}
add_action( 'after_setup_theme', 'themename_setup_widgets' );

Or all widgets can be enabled at once:

function themename_setup_widgets() {
    add_theme_support( 'audiotheme-widgets' );
}
add_action( 'after_setup_theme', 'themename_setup_widgets' );