Include category name in page template

You can use get_queried_object to return the name of the current category page you are on

 $cc = get_queried_object();
  echo $cc->cat_name; //display the name of current category page

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