the_permalink codex code example Example: wordpress loop permalink <?php echo get_post_permalink() ?>