Added wp_reset_query after loops