库导入目录 逐个导入模板非常耗时。您可以一次性导入目录中的所有模板。Elementor CLI 的 library import-dir 命令将通过命令行导入所有模板 JSON 文件。 命令 wp elementor library import-dir 参数 (必需) 目录的路径。 使用示例 wp elementor library import-dir path/to/custom-templates/ 此命令将把 path/to/custom-templates/ 目录中的所有模板 JSON 文件导入到库中。