Problem code and show comments

This question is very hard to understand but I think that you might need to put wp_reset_query() or wp_reset_postdata() after your Loop (after endwhile;) to to reset the loop and/or the $post variable.

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