Appearance
Library Import
Elementor Core AdvancedUsers 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
bash
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
bash
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.
bash
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.