1) One may name a child after someone who died after the child was born.

2) An orphan who is born after his father has died, should be named after his father.