using get_post_class instead of post_class