Advanced features for power users.
Filtering: only import records matching certain criteria
Only import records in your file that match the criteria you specify.
If you have an XML or CSV file containing thousands of products, but you only want to import products in a certain price range, or in a certain category, it’s possible with WP All Import’s visual filtering options designer, or by manually writing an XPath expression.
Import extremely large XML and CSV files
WP All Import splits your file into easily manageable chunks, and then processes each chunk in smaller iterations.
WP All Import automatically determines the proper iteration size to use based on the power of your web host, making it possible to import 100Mb+ files with 100,000+ records, even on shared web hosting.
WP All Import has a built-in “failure mode” so if a web host terminates an import before it is finished for using too much script execution time, WP All Import will simply try again, but with a lower “records per iteration” number, until it finds one that will work on your web host.
Template syntax for loops and conditional statements
FOREACH and IF constructs can be used in any field inside WP All Import.
If you have a variable number of a certain element in your XML file, WP All Import can loop through each element using a FOREACH loop.
Or, if you need to only import or display a certain field depending on the value of it or another field, you can do that with an IF statement.
Need to map or translate data in your file before it is imported to your site? For example, maybe you already have a category structure set up on your site, but the categories in the XML or CSV file you are importing don’t match the categories on your site. You need to map the category names in your XML or CSV file to the categories on your site – Men’s Shoes in your file could become Shoes For Men on your site.
When importing categories, taxonomies, or Custom Fields, you can specify the mapping options using a visual interface. Everywhere else, you can use the wpai_util_map PHP function.
Everything WP All Import does is logged, so if your imported posts aren’t looking or working the way you expect, it’s easy to go through your import logs and pinpoint the problem.
Here’s a complete list of places WP All Import can import data to:
Custom Fields (including serialized)
Custom Post Types
Attachments (no attachment meta)
Categories, Tags, and Custom Taxonomies (including hierarchical)
Post Dates (including automatic randomization)
Page Menu Order
Users & User Meta (with user import add-on)
Custom MySQL Tables (only with custom code and our API)