added post class and media class