add posts class