• Resolved Erin Bell

    (@ebellempire)


    I’m using the upgraded/paid version of WP All Import (tried with versions 2.19 and 2.21) and am unable to save custom taxonomies when importing to a custom post type (though everything else is working brilliantly).

    Here is the code I’m using to register the taxonomies (‘types’ and ‘regions’, which are used only with the custom post type ‘members’), if that helps.

    note: the following works just fine with manually added entries.

    //hook into the init action and call create_book_taxonomies when it fires
    add_action( 'init', 'create_member_taxonomies', 0 );
    
    //create two taxonomies, genres and writers for the post type "book"
    function create_member_taxonomies()
    {
      // Add new taxonomy
      $labels = array(
        'name' => _x( 'Types', 'taxonomy general name' ),
        'singular_name' => _x( 'Type', 'taxonomy singular name' ),
        'search_items' =>  __( 'Search Types' ),
        'popular_items' => __( 'Popular Types' ),
        'all_items' => __( 'All Types' ),
        'parent_item' => null,
        'parent_item_colon' => null,
        'edit_item' => __( 'Edit Type' ),
        'update_item' => __( 'Update Type' ),
        'add_new_item' => __( 'Add New Type' ),
        'new_item_name' => __( 'New Type Name' ),
        'separate_items_with_commas' => __( 'Separate types with commas' ),
        'add_or_remove_items' => __( 'Add or remove types' ),
        'choose_from_most_used' => __( 'Choose from the most used types' ),
        'menu_name' => __( 'Types' ),
      ); 
    
      register_taxonomy('types','members',array(
        'hierarchical' => true,
        'labels' => $labels,
        'show_ui' => true,
        'update_count_callback' => '_update_post_term_count',
        'query_var' => true,
        //'rewrite' => array( 'slug' => 'type' ),
      ));
    
      // Add new taxonomy
      $labels = array(
        'name' => _x( 'Regions', 'taxonomy general name' ),
        'singular_name' => _x( 'Region', 'taxonomy singular name' ),
        'search_items' =>  __( 'Search Regions' ),
        'popular_items' => __( 'Popular Regions' ),
        'all_items' => __( 'All Regions' ),
        'parent_item' => null,
        'parent_item_colon' => null,
        'edit_item' => __( 'Edit Region' ),
        'update_item' => __( 'Update Writer' ),
        'add_new_item' => __( 'Add New Region' ),
        'new_item_name' => __( 'New Region Name' ),
        'separate_items_with_commas' => __( 'Separate regions with commas' ),
        'add_or_remove_items' => __( 'Add or remove regions' ),
        'choose_from_most_used' => __( 'Choose from the most used regions' ),
        'menu_name' => __( 'Regions' ),
      ); 
    
      register_taxonomy('regions','members',array(
        'hierarchical' => true,
        'labels' => $labels,
        'show_ui' => true,
        'update_count_callback' => '_update_post_term_count',
        'query_var' => true,
        //'rewrite' => array( 'slug' => 'region' ),
      ));
    }

    https://www.ads-software.com/extend/plugins/wp-all-import/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Soflyy

    (@soflyy)

    We do not handle paid version inquiries in the www.ads-software.com support forums. Please submit a ticket through the channels listed on our website.

    Thread Starter Erin Bell

    (@ebellempire)

    Hi @soflyy, I’ve submitted a couple tickets via the email listed at https://www.wpallimport.com/support/ and have received no reply. Perhaps my message got filtered or otherwise lost? Please confirm here if you have not seen my messages. I will resend from another address or something if need be. Thanks — E

    Plugin Author Soflyy

    (@soflyy)

    We don’t have anything. What e-mail address did you send from? Did you get a ticket ID/receipt back?

    You can add me on Skype at louis.soflyy if you want.

    Thread Starter Erin Bell

    (@ebellempire)

    Just resent from another email account and received a response ticket. Thanks.

    Thread Starter Erin Bell

    (@ebellempire)

    Upgrade to latest version did the trick.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP All Import] Unable to save custom taxonomies’ is closed to new replies.