Dipping into wp-cli

A presentation at Philly ‘burbs WordPress Meetup - December 2019 in December 2019 in Phoenixville, PA 19460, USA by Liam Dempsey

Slide 1

Slide 1

DIPPING INTO WP-CLI @liamdempsey

Slide 2

Slide 2

WHAT? • A command line tool for working with WordPress • An alternative to doing everything via the dashboard • Can be used locally (with Local by Flywheel, for example) • Can also be used with production sites @liamdempsey

Slide 3

Slide 3

WHY? • Great for folks who prefer to type rather than use a mouse or GUI • Super fast • Pretty easy to learn • Lots of great documentation – easy to get directions on how to use @liamdempsey

Slide 4

Slide 4

WHEN? • • • • Any time you want to save time Update settings Add or remove plugins Bulk remove content, comments, etc. @liamdempsey

Slide 5

Slide 5

WHERE? • • • • On local installs On production sites On staging sites From your local terminal @liamdempsey

Slide 6

Slide 6

WHERE?

Slide 7

Slide 7

HOW? • • • • • Install plugins Install themes Bulk delete spam comments Bulk delete spam form submissions So much more! @liamdempsey

Slide 8

Slide 8

Install Yoast SEO Plugin @liamdempsey

Slide 9

Slide 9

Install Yoast SEO Plugin @liamdempsey

Slide 10

Slide 10

Install Yoast SEO Plugin @liamdempsey

Slide 11

Slide 11

Install Yoast SEO Plugin @liamdempsey

Slide 12

Slide 12

Install Yoast SEO Plugin 1. Start a local site in Local by Flywheel. 2. In the left column of site, right click on the running website. 3. Select Open Site SSH in the options dialog. 4. In the Terminal window that opens, type wp plugin install —activate wordpress-seo 5. wp-cli will download, install, and activate the Yoast WordPress SEO plugin from the WP plugin repo. @liamdempsey