Wordpress custom post class.