WordPress Category Question

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)