Starter Templates: WP-CLI Commands

Starter Templates: WP-CLI Commands

With WP-CLI commands you can manage a WordPress site from the command prompt. Below are the commands for Starter Templates.

1. List all page builders

wp starter-templates page_builder list

2. Choose a page builder to see all available starter templates

wp starter-templates page_builder

For example –

wp starter-templates page_builder set elementor
wp starter-templates page_builder set beaver-builder

3. Import template with id.

Once you run the above command, you will get a list of templates with respective IDs. Pick a required ID and use it the following command to import a template.

wp starter-templates import template-id

4. Clear/reset previously imported starter template while importing a new one

wp starter-templates reset [--yes]

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注