Get current title of archive.php

There was a new function introduced in WordPress 4.1 called the_archive_title() which does just that. You can simply add the_archive_title() in your archive page.

If you need to filter the output, see my answer here on how to accomplish that

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