WordPress Category Question August 29, 2022 by Tarik Billa I had a similar question, and the solution was to add a function in functions.php. How to get current_cat in navbar, in single post