Starter Sites
The theme provides a WP-CLI interface for managing starter sites (demo content) directly from the command line. This is useful for automated deployments, CI/CD pipelines, or quick site setup without using the WordPress admin interface.
Namespace
All commands are available under the kalium starter-site namespace.
Commands
List Starter Sites
Lists all available starter sites.
wp kalium starter-site list [--builder=<builder>] [--installed]Options
--builder=<builder>
Filter starter sites by builder type (e.g., gutenberg, elementor, wpb)
--installed
Show only installed starter sites
Example Output
+---+------------+-----------------+------------------------------+
| # | id | name | builders |
+---+------------+-----------------+------------------------------+
| 1 | agency | Agency | wpb |
| 2 | * bookstore| Bookstore | gutenberg, wpb |
| 3 | hotel | Hotel | gutenberg, elementor |
+---+------------+-----------------+------------------------------+Note: Starter sites marked with
*are currently installed.
Install a Starter Site
Performs a complete installation of a starter site including plugins and content.
Arguments
<id>
Required. ID of the starter site to install
Options
--builder=<builder>
Specify the builder type to use
--regenerate-thumbnails
Regenerate image thumbnails after installation
Example
Install Plugins Only
Installs and activates only the required plugins for a starter site without importing content.
Arguments
<id>
Required. ID of the starter site
Options
--builder=<builder>
Specify the builder type
Example
Import Content Only
Imports the content of a starter site (assumes required plugins are already installed).
Arguments
<id>
Required. ID of the starter site
Options
--builder=<builder>
Specify the builder type
Example
Uninstall a Starter Site
Removes an installed starter site and its imported content.
Arguments
<id>
Required. ID of the starter site to uninstall
Example
Regenerate Thumbnails
Regenerates image thumbnails for a specific starter site's imported media.
Arguments
<id>
Required. ID of the starter site
Options
--builder=<builder>
Specify the builder type
Example
Typical Workflow
Quick Installation
Step-by-Step Installation
Cleanup
Error Handling
The CLI will exit with an error in the following cases:
Starter site ID not provided
Starter site not found
Plugin download URL cannot be determined
Import process encounters errors
Attempting to uninstall a starter site that is not installed
Notes
Gutenberg is the default and recommended builder for most starter sites
The
--builderoption is important when a starter site supports multiple page buildersAvailable builders:
gutenberg(default),elementor,wpbRunning
installwill spawn separate processes for plugin installation and content importThumbnail regeneration only affects images imported by the specific starter site
The Portfolio post type is temporarily activated during plugin installation
Last updated