use post->class instead of statusname