Make query_post category name dynamic

Use get_the_title() replacing the_title(). Difference is get_the_title() returns the value while the_title() echos it.

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