wordpress get the permalink by id code example Example: wordpress get link to post by id get_permalink();