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