how to get the post url from its id in wordpress code example Example: wordpress get link to post by id get_permalink();