Unlock Hidden Powers: Transform Your WordPress Workflow with WP-CLI Today!
wp theme activate twentytwenty

wp theme install
Like plugins, you can install themes from the command line.
If you want to install a theme from the WordPress Theme Directory, you’ll need to use its slug.
Like plugins, the slug is in the URL of the theme’s page in the WordPress Theme Directory.
For example, if you want to install the Hello Biz theme, you need to enter its name as hello-biz based on its slug.
wp theme install hello-biz

If you want to activate the theme after installing it, add the –activate flag:



Post Comment