Add delete posts function.