made author a post variable