WordPress.org

Ready to get started?Download WordPress

Forums

Import any XML or CSV File to WordPress
[resolved] [Plugin: WP All Import] Unable to save custom taxonomies (6 posts)

  1. Erin B.
    Member
    Posted 1 year ago #

    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' ),
      ));
    }

    http://wordpress.org/extend/plugins/wp-all-import/

  2. Soflyy
    Member
    Plugin Author

    Posted 1 year ago #

    We do not handle paid version inquiries in the wordpress.org support forums. Please submit a ticket through the channels listed on our website.

  3. Erin B.
    Member
    Posted 1 year ago #

    Hi @soflyy, I've submitted a couple tickets via the email listed at http://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

  4. Soflyy
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. Erin B.
    Member
    Posted 1 year ago #

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

  6. Erin B.
    Member
    Posted 1 year ago #

    Upgrade to latest version did the trick.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic