Extending Your WordPress Toolbelt with WP-CLI

  • 421 views
Uploaded on

WordCamp Raleigh 2013

WordCamp Raleigh 2013

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
421
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
2
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Extending Your WordPress Toolbelt with WP-CLI WordCamp Raleigh 2013 Ryan Duff
  • 2. Me • WordPress Developer • Open Source Contributor • Sysadmin (sort of)
  • 3. WP-CLI WP-CLI is a set of command-line tools for managing WordPress installations.
  • 4. Requirements • UNIX-like environment (OS X, Linux, FreeBSD, Cygwin) • PHP 5.3.2 or later • WordPress 3.4 or later
  • 5. How To Install curl https://raw.github.com/wp-cli/wp-cli.github.c | bash Alternate install methods: https://github.com/wp-cli/wp-cli/wiki/Alternative-Install-Methods
  • 6. What Does It Do? Everything... almost Sorry… it won’t make you coffee.
  • 7. Download, Configure, Install
  • 8. wp core download
  • 9. wp core config --dbname=wcraleigh --dbuser=wcraleigh --dbpass=wcraleigh wp core install --url="http://site.com" --title="Site Name" --admin_user=notadmin --admin_password=somethingstrong --admin_email="user@site.com"
  • 10. Install and Manage Plugins
  • 11. wp plugin list search install | delete activate | deactivate | toggle update
  • 12. Themes too!
  • 13. Import & Export Search & Replace too! Search & Replace too! Search & Replace too!
  • 14. But wait. There’s more!
  • 15. Posts Comments Users Media Post Meta Post Meta Post Meta Post Meta
  • 16. 2 for 1 Special
  • 17. Multisite Rewrites Options Options Options
  • 18. English please?
  • 19. Your Turn (aka How to Extend WP-CLI)
  • 20. More Info Web: http://wp-cli.org/ Core Commands: http://wp-cli.org/commands/ Cookbook: https://github.com/wp-cli/wpcli/wiki/Commands-Cookbook Github: https://github.com/wp-cli/wp-cli
  • 21. Questions?
  • 22. Ryan Duff email: ryan@fusionized.com web: http://fusionized.com twitter: @ryancduff github: https://github.com/ryanduff