From the course: WordPress: WP-CLI

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Working with themes

Working with themes - WordPress Tutorial

From the course: WordPress: WP-CLI

Start my 1-month free trial

Working with themes

- And experience you can completely manage from WP-CLI, is the theme experience. From here you can activate disable, install, delete and update themes, as well as much more. Looking at WP help theme, we see a comprehensive list of what's possible. From the basic, like updating a theme to the complex, like working with the theme mods. So let's start with WP theme status. This will give us a list of all of the installed themes, as well as highlight which one is activated, by showing it in green with an A next to it for active. If you want to delete themes you aren't going to use, you can do so using WP theme delete, and then listing the themes you want to delete. So we can write one theme like 2019, make sure we spell that right, but if we want to do more than one, we can have a space separated list. So we'll write 2019 space, and then 2020. Both themes are now deleted and we can double-check WP theme status, to see…

Contents