#221 Handle disabled and custom post types