added action to handle linking directly to a post