get listed category’s id? July 24, 2022 by Tarik Billa How about get_query_var(‘cat’). I think that should get the ID of the current category.