• Resolved megabait12

    (@megabait12)


    If you remove “AND post_type = ‘post'” in the file duplicate-title-validate.php in the sql query “SELECT post_title FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_type = ‘post’ AND post_title = ‘{$title}’ AND ID != {$post_id} “, then it will compatible with custom post types. Thank you

    https://ww.wp.xz.cn/plugins/duplicate-title-validate/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Custom post type support’ is closed to new replies.