# Library Import Dir

Elementor Core Advanced

Importing templates one by one is time consuming. You can import all the templates in a directory at once. Elementor CLI library import-dir command will import all the template JSON files using the command line.

# Command

wp elementor library import-dir <dir-path>
1

# Arguments

<dir-path>

(Required) A path to the directory.

# Usage Examples

wp elementor library import-dir path/to/custom-templates/
1

This command will import to the library all template JSON files in the path/to/custom-templates/ directory.