Custom taxonomy in WP_Query not working

If you’re using multiple queries on same page, you should always use wp_reset_query, place it after loops.

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