use post id when outside the loop