Show custom post type under last posts configuration

replace custom Post Type there with your real custom post type name:

  $args['post_type'] = array('post', 'custom Post Type');

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