Display Date & Author Info on Custom Post Type Archive Page

If you’re using a custom archive template I think you should add the conditional is_post_type_archive()

if ( 'post' === get_post_type() || is_post_type_archive( array( 'articles' ) ) );

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