modify the loop code
output WP nav