Saving post->ID if chosen and using `get_permalink` if it is