Adding post type and setting classes