How to display custom post types using single-[post_type] and archive-[post-type]?

You need to add the arg ‘has_archive’ => true. Hope this helps!

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