Current Category Slug $current_cat = get_query_var( 'cat' ); $cat_slug = get_category( $current_cat )->slug;