how to get post url including post name in wordpress code example Example: wordpress get link to post by id get_permalink();