How to specify what kind of is_single post?

You can use if ( is_singular( 'POST_TYPE' ) ) to determine the type if your singular post.

Remember to change POST_TYPE to your desired type.

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