while ( have_posts() ) { the_post(); $post_link = get_permalink(); ?>