Custom Post Types – trying to make “title” display

Are you talking about custom post type categories (i.e. terms)?

You can get existing term name by

$queried_object = get_queried_object();
$term_id = $queried_object->name;

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