Preview with Custom Post Type Not Working
One of the parameter that you can pass to the supports argument is post_formats, removing this argument will fix the problem with the preview redirecting to a wrong or non-existing url. Code sample: if ( ! function_exists(‘custom_post_type’) ) { // Register Custom Post Type function custom_post_type() { // some code $args = array( // ‘supports’ … Read more