My custom query is displaying random posts in random order

I figured this out. It’s because my posts were added with a CSV import which created a ton of posts at once with the exact same timestamp. Changing the orderby to something besides ‘date’ will suffice for now and I will need to modify my CSV import to add minutes onto the timestamp.

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