Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @mymindrules

    Sorry for the delay,
    Could you please clarify the information, do you need just a bulk import of the demo data or do you have CSV, XML or other files exported in some structure from your old system?

    Let me know these details,
    Best Regards!

    Thread Starter mymindrules

    (@mymindrules)

    We have jobs in csv format which we would like to import in our system.
    How can we do it?

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @mymindrules

    The import through CSV files from 3rd-party services is every time the custom work is based on the already exported CSV file.

    See how to use the PHP functions for parsing the CSV files
    https://stackoverflow.com/questions/9139202/how-to-parse-a-csv-file-using-php

    Then please use in the row’s “foreach” the next function for inserting the Jobs Posts:

    $meta_input = array(
            'jb-location-type'       => $location_type,
    	'jb-location'            => $location,
    	'jb-application-contact' => $app_contact,
            'jb-company-name'        => $company_name,
    	'jb-company-website'     => $company_website,
    	'jb-company-tagline'     => $company_tagline,
    	'jb-company-twitter'     => $company_twitter,
    	'jb-company-facebook'    => $company_facebook,
            'jb-company-instagram'   => $company_instagram,
    	'jb-expiry-date'         => $expiry,
    );
    
    $job_data = array(
    	'post_type'    => 'jb-job',
    	'post_author'  => $user_id,
    	'post_parent'  => 0,
    	'post_title'   => $title,
    	'post_content' => $content,
    	'post_status'  => $status,
            'meta_input'   => $meta_input,
    );

    Let me know if you have other questions,
    Best Regards!

    Thread Starter mymindrules

    (@mymindrules)

    Thanks a lot.
    Is there any plugin add on which can help to import jobs in bulk?

    Thread Starter mymindrules

    (@mymindrules)

    We have Data in csv format which we can convert in any format if there is any plugin which can help us to import the jobs in bulk.

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @mymindrules

    Jobs listings are the WordPress native posts. Maybe there are 3rd-party plugins that provide to import CPT posts from CSV.

    In any case (PHP custom import or 3rd-party plugin solution). Please pay an attention to the post data that I shared above.

    Best Regards!

    Thread Starter mymindrules

    (@mymindrules)

    Thanks a lot.
    I will try.

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @mymindrules

    Please let me know about the progress or share your results here.
    Perhaps your findings will be useful to someone. Thanks a lot.

    Best Regards!

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @mymindrules

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to bulk import job listings ?’ is closed to new replies.