wp_query not returning my custom post

Just spent another hour trying to debug something because the shift key on my keyboard doesn’t always work.

post-type != post_type

There should be an under score between post and type, not a hyphen.

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