Taxonomy Query of Custom Post Displays Archive Instead of Posts

Because it work fine in local, you can give a shot by changing .htaccess file(change permalink form WordPress setting , make sure you have the server write access to change . htaccess file)

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