Added simple data_attributes method to core post class