preview fix for published custom post types with port-format support