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.
wp elementor library import <file-path> [--returnType]<file-path>
(Required) A path to the template file.
[--returnType]
(Optional) The output format. Available values are ids and info. Default is info.
wp elementor library import path/to/elementor-12345-2022-03-04.jsonThis 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=idsThis command will import the path/to/elementor-12345-2022-03-04.json template to the library and return the imported items ids.