functions.php
/**
 * Exclude slider category from sidebar widgets
 */
Exclude slider category from sidebar widgets
Exclude slider category from sidebar widgets
function vogue_exclude_slider_categories_widget( $args ) {
	$exclude = ''; 
	if ( get_theme_mod( 'vogue-slider-cats', false ) ) {
        $exclude = esc_attr( get_theme_mod( 'vogue-slider-cats' ) );
    }
	$args['exclude'] = $exclude;
	return $args;
}
function vogue_exclude_slider_categories_widget ( $ args ) { $ exclude = '' ; if ( get_theme_mod ( 'vogue-slider-cats' , false ) ) { $ exclude = esc_attr ( get_theme_mod ( 'vogue-slider-cats' ) ) ; } $ args [ 'exclude' ] = $ exclude ; return $ args ; }
Exclude slider category from sidebar widgets
Exclude slider category from sidebar widgets
// ID's of the categories to exclude