Successfully made get current, next, and previous post methods working