Determine the category that an archive-page is for October 17, 2022 by Tarik Billa the ID of the current category will be available in the cat query var: get_query_var('cat');