Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.02 KB

File metadata and controls

35 lines (21 loc) · 1.02 KB

Library Import

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]

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

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

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