WordPress.org

Forums

Import CSV with Ultimate CSV Importer
[resolved] Auto select header (4 posts)

  1. kubiq
    Member
    Posted 2 years ago #

    What about "auto select" ?

    For example, add this after "Import" button:

    <script type="text/javascript">
    jQuery(document).ready(function(e) {
    	jQuery("#display_area > table label").each(function(index, element) {
    	jQuery(element).parents("tr").find("select").val(jQuery(element).text()).change();
    	});
    });
    </script>

    Could you implement it in next version?

    http://wordpress.org/plugins/wp-ultimate-csv-importer/

  2. smackcoders
    Member
    Plugin Author

    Posted 2 years ago #

    Can you explain the suggested feature? Did you tried with your instance?

    I am changing the status as this is not a support question.

    Thanks for your suggestion.

  3. kubiq
    Member
    Posted 2 years ago #

    When someone has CSV with correct headers like : post_title, post_content, post_excerpt, post_date, post_name, post_tag, post_category, post_author, featured_image, post_parent, post_status, product_type, product_cat, product_tag, product_shipping_class, shop_order_status

    ...than it will automatically select it from drop-downs in second step

    For me it's working fine :)

  4. smackcoders
    Member
    Plugin Author

    Posted 2 years ago #

    Yes thanks for the update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Import CSV with Ultimate CSV Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic