Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.
WP All Import Pro allows you to import posts and custom post types (like job listings) using CSV and XML files. This guide will show the basics of importing from a CSV file.
Note: The pro version of WP All Import is required for importing custom fields.
↑ Back to Top Preparing Your CSV File
Columns you may want to include:
- Job Title
- Job Description
- Job Location
- Job Application (email or URL)
- Company Name
- Company Tagline
- Company Website Address
- Company Twitter Handle
- Company Logo URL
- Company Video URL
- Job Type
↑ Back to Top Importing your CSV File
First go to the All Import section and choose ‘New Import’.
You’ll then be prompted to upload your CSV file. You should also choose to create new ‘Jobs’ for the items dropdown.
Once the file has uploaded successfully it will show you a preview of your CSV fields. You’ll want to continue to step 3 after ensuring it has uploaded correctly and can be read.
For step 3, you will need to tell WP All Import how to import each of the columns in your CSV file. Start with the post title and content. These need to be mapped to your job title and description:
Next you’ll map custom fields:
The names of the custom fields you’ll be mapping to include:
- Job Location -> _job_location
- Job Application (email or URL) -> _job_application
- Company Name -> _company_name
- Company Tagline-> _company_tagline
- Company Website Address-> _company_website
- Company Twitter Handle-> _company_twitter
- Company Logo URL-> _company_image
- Company Video URL-> _company_video
If you are using WP Job Manager 1.18.0 and below, you’ll also need to map two additional fields set to 1 or 0:
- _filled – Whether or not the position is filled.
- _featured – Whether or not the job listing should be featured.
The final thing to map is the job type (and possibly job categories if you’re importing those too). Look in the taxonomies section and map your column containing the terms:
Continue to the next step where you’ll choose a unique ID (you can use the job title here, or a combination of fields), and then you can complete your import.