WordPress: WP-CLI

WordPress: WP-CLI

2h 13mAdvanced2021-05-03

Authors

Joe Casabona

Joe Casabona

Course Developer, Founder of Creator Courses

Course details

While the ease of use of the WordPress dashboard is one of the main draws of the platform, there are instances when using the command-line interface, or CLI, has distinct advantages. For example, repeated actions like updating themes or deleting spam comments can be done with a single CLI command. Using WP-CLI, you can also write scripts to automate processes like nightly backups, updating plugins, or even full WordPress installs. In this course, Joe Casabona takes you through the vast and flexible uses of WP-CLI, starting with basics like managing posts and content, to working with the WordPress database, and everything in between. By the end of this course, you’ll see how to execute nearly all WordPress dashboard tasks from WP-CLI, leaving you with the freedom to decide the best method for each scenario and task.

Skills covered

Help Desk SkillsWordPressContent Management Systems (CMS)IT Help DeskWeb Development ToolsWeb DevelopmentOpen SourceOne-Off

Concepts

Introduction

  • What is WP-CLI
  • Who is it for
  • What you should know

Setting up WP-CLI

  • How WordPress works under the hood
  • Environment setup
  • Using WP-CLI with Local
  • Manually installing WP-CLI
  • A look at WP-CLI commands

Updating and Modifying WordPress

  • Interacting with Core
  • Working with themes
  • Working with plugins
  • Sidebars widgets and menus

Working with Posts and Other Content

  • Getting post type information
  • Managing existing posts
  • Generating dummy data
  • Interacting with comments
  • Terms and taxonomies
  • Managing media

Users Options and Caches

  • Roles and capabilities
  • Managing specific users
  • Reading and changing options
  • Flushing cache transients and embeds

Working with the WordPress Database

  • Overview of wp db commands
  • Querying the database
  • Maintaining the database
  • Exporting importing search and replace

There s So Much More

  • Installing WordPress using WP-CLI
  • Advanced WP-CLI topics

Conclusion

  • Next steps
80,000 Toman