• So I keep getting this error…..
    That post type name already exists. Please choose another name.
    No matter what I do it.

    So I simply disabled it ??
    Line 1595 in admin-setting.php

    wp_enqueue_script( 'custom-post-type-onomies-admin-options-validate', plugins_url( 'assets/js/admin-options-validate.min.js', __FILE__ ), array( 'jquery', 'jquery-form-validation' ), null, true );

Viewing 1 replies (of 1 total)
  • Thread Starter samjco

    (@samjco)

    I now can even unset “Category” or “Post-tag” taxonomies and recreated them with CPT-onomies.

    Add to functions.php after commenting out Line 1595 above:

    add_action('init', function(){
            global $wp_taxonomies;
            unregister_taxonomy_for_object_type( 'category', 'post' );
            unregister_taxonomy_for_object_type( 'post_tag', 'post' );
            if ( taxonomy_exists( 'category'))
                unset( $wp_taxonomies['category']);
            if ( taxonomy_exists( 'post_tag'))
                unset( $wp_taxonomies['post_tag']);
            unregister_taxonomy('category');
                   unregister_taxonomy('post_tag');
        });
Viewing 1 replies (of 1 total)
  • The topic ‘Error! That post type name already exists.’ is closed to new replies.