Overview

Overview

WP All Import provides a number of options for sideloading images to the posts it creates. Watch the video below for an overview of a few different ways to import images.

When creating a new import, you can specify the settings for importing your images in Step 3. To add images to an existing import, go to Manage Imports -> Edit Import.

For each record in your file, WP All Import will create a post, import the images associated with that record to the post』s Media Gallery, and optionally set the Featured Image.

Image Options

Image Options

The Images section in WP All Import provides multiple options to better control how and when your images are imported. The available options will vary based on which source you've chosen for your images.

Search through the Media Library for existing images before importing new images

Search through the Media Library for existing images before importing new images

This option attempts to match previously imported images by either URL or filename based on your selection. If no previously imported image is found the image is downloaded and passed to WordPress for processing. Then it's linked to the record.

Keep images currently in Media Library

Keep images currently in Media Library

When this option is unchecked WP All Import will first delete every image attached to the record being processed. Then it will proceed through the other options as usual. If your images change at the source without having their names or URLs updated in your file, you'll need to uncheck this box to ensure the latest versions are always downloaded. Note: If this option is unchecked the option to 'Skip posts if their data in your file has not changed' (Manage Imports > Import Settings) will be disabled.

Scan through post content and import images wrapped in tags 

<img width="1024" height="138" src="https://www.wpallimport.com/wp-content/uploads/2021/10/scan-through-post-content-1024x138.png" alt="Scan through post content and import images wrapped in

This will search through whatever you've provided in the Content/Description field and import any images that are wrapped in tags. Once the images are imported the tags will be updated to point to the local image. Note: the image URLs must be absolute such as https://yoursite.com/yourimage.png and not /yourimage.png

Other Image Options

Run WordPress Import on a Schedule

Run WordPress Import on a Schedule

The Automatic Scheduling service allows you to set up imports with just a couple of clicks. Rather than setting up cron jobs on your server, you can set schedules directly within WP All Import. The Automatic Scheduling service will then contact your site at the scheduled time to run your imports, and check in to make sure they've completed correctly.

Automatic Scheduling vs Manual Scheduling

WP All Import offers two ways to schedule or automate imports. The first option is to manually create the cron jobs in the server. The second option is to use our paid Automatic Scheduling Service, which is integrated within WP All Import and doesn't require any setup.

This guide focuses on Automatic Scheduling.

Configure a Scheduled WordPress Import

To set up the Automatic Scheduling Service on an existing import, navigate to the Manage Imports page. Then, click on Scheduling Options › Automatic Scheduling:

The same Scheduling Options menu appears when creating a new import.

There you decide whether you'd like your import to run weekly or monthly. Then you select the days and times that you would like your import to run.

Sign Up for Automatic Scheduling

This service costs $9 USD per month, and allows for unlimited imports to run on an unlimited amount of sites. Subscribe to the Automatic Scheduling service.

Repeatable Groups

Repeatable Groups

Our Toolset Types Add-On provides multiple methods to import repeatable groups in an effort to accommodate as many file formats as possible.

Note: currently, we do not support appending repeater data from multiple import records into a single post. All of the repeating data for a single post needs to be in the same post record.

Fixed Repeater Mode

If you're using a CSV file with a fixed amount of columns for your repeating data, like this:

Toolset Types Fixed CSV Mode

Then you'd want to use "Fixed Repeater Mode" and add a row for each column that you plan on dragging in:

Toolset Types Add Row View

If it's possible that some of the columns won't have data for some records, you can enable the "Ignore blank fields" option to avoid adding empty rows.

Variable Repeater Mode (XML)

If you're importing an XML file and the repeating data is listed in sibling elements:

https://www.example.com/image1.jpg
https://www.example.com/image2.jpg
https://www.example.com/image3.jpg
https://www.example.com/image4.jpg
https://www.example.com/image5.jpg

Then you should use the Variable Repeater Mode (XML) option like this:

Toolset Types Variable Repeater Mode XML View

You'll notice that the syntax from the screenshot doesn't match what you'll see whenever you drag in the import elements. This is because you have to manually edit the XPath to make sure the loop is reaching the correct elements. You can learn more about this here in our Custom XPath and FOREACH Loops documentation pages.

Variable Repeater Mode (CSV)

If your repeating data is in a single CSV column with a delimiter, for example:

Toolset Types Variable Repeater Mode CSV View

Then you'll want to use the "Variable Repeater Mode (CSV)" option and make sure to choose the correct delimiter:

Toolset Types Variable Repeater Mode CSV Import View

Just like the "Fixed Repeater Mode", you can enable the "Ignore blank fields" option if some records have more or less repeating data.