Multiple Queries and Loops within CPT Archive

That’s a lot of queries! Have you considered running the query once and using something like mixitup or isotope to sort your results?

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