# Library Import

Elementor Core Advanced

Users can import Elementor templates from the library by uploading a single template JSON file or a ZIP file with multiple JSON files. The Elementor CLI library import command will import the template using the command line.

# Command

wp elementor library import <file-path> [--returnType]
1

# Arguments

<file-path>

(Required) A path to the template file.

[--returnType]

(Optional) The output format. Available values are ids and info. Default is info.

# Usage Examples

wp elementor library import path/to/elementor-12345-2022-03-04.json
1

This command will import the path/to/elementor-12345-2022-03-04.json template to the library.

wp elementor library import path/to/elementor-12345-2022-03-04.json --returnType=ids
1

This command will import the path/to/elementor-12345-2022-03-04.json template to the library and return the imported items ids.