SlideShare a Scribd company logo
1 of 17
Effortless WordPress: Mastering Project
Prep with WP-CLI Automation
By Makarand Mane
@TeamWPGenius
Makarand G. Mane
Founder & Designated Partner
@WPGenius Solutions LLP
wpgenius.in
@TeamWPGenius
What we will do in next 30 min.
1. Intro
2. WP-CLI quick look
3. Common Repeated tasks
4. Let’s do some smart work
5. Q&A
@TeamWPGenius
Intro
@TeamWPGenius
WP : WordPress
C : Command
L : Line
I : Interface
@TeamWPGenius
WP-CLI Quick look
A set of command line tools that allows you to manage WordPress from the
command line.
You need to have SSH access to use WP-CLI.
https://wp-cli.org/
@TeamWPGenius
Who is this for
Anyone really, but mostly:
• Developers
• Theme Designers
• Server Administrators
@TeamWPGenius
WP-CLI Command Structure
wp <command> <subcommand> --flag
E.g.
wp plugin install contact-form-7 --activate
@TeamWPGenius
Common Use Cases of WP CLI
1. Automated Plugin & Theme Management
2. Database Maintenance and Optimization
3. User Account Administration
4. Content Import and Export
5. Security and Backup Operations
6. Multisite Network Management
7. Media File Handling
8. Post and Page Creation (Creating dummy posts)
9. Child Theme Creation
@TeamWPGenius
Common issues can be solved with WP-CLI
1. Getting time out (502 gateway timeout)
2. Importing lot of data
3. Exporting lot of data with custom formats
4. Write your own command
5. & more…
@TeamWPGenius
My Day to Day routine tasks
1. Installing WordPress
2. Adding Astra theme
3. Create child theme & Pushing it to git repo.
4. Adding regularly used plugins
5. Configuring Licenses & Settings
6. Creating users
7. Removing default data
8. Import own default data
9. File manipulation & WP hardening
@TeamWPGenius
@TeamWPGenius
Bar bar jis ko padta
hai karana
Usi ko aaj automate
karana
Live Demo from WPGenius
@TeamWPGenius
My GitHub repo
https://github.com/wpgenius/WP-Setup-Automate
@TeamWPGenius
Thank you for giving me a chance
to share my Thoughts …
Lets Have Some Questions
@TeamWPGenius
Makarand Mane
wpgenius.in
makarand@wpgenius.in
TeamWPGenius
WPGenius

More Related Content

Similar to Effortless WordPress: Mastering Project Prep with WP-CLI Automation

Similar to Effortless WordPress: Mastering Project Prep with WP-CLI Automation (20)

Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
 
WP-CLI: WordCamp Nashville 2016
WP-CLI: WordCamp Nashville 2016WP-CLI: WordCamp Nashville 2016
WP-CLI: WordCamp Nashville 2016
 
WordPress Security & Backup
WordPress Security & Backup WordPress Security & Backup
WordPress Security & Backup
 
WordPress London Developer Operations For Beginners
WordPress London Developer Operations For BeginnersWordPress London Developer Operations For Beginners
WordPress London Developer Operations For Beginners
 
Saving Time with WP-CLI
Saving Time with WP-CLISaving Time with WP-CLI
Saving Time with WP-CLI
 
WordPress and The Command Line
WordPress and The Command LineWordPress and The Command Line
WordPress and The Command Line
 
Introduction to Office Development Topics
Introduction to Office Development TopicsIntroduction to Office Development Topics
Introduction to Office Development Topics
 
Fun with Jenkins & Salesforce
Fun with Jenkins & SalesforceFun with Jenkins & Salesforce
Fun with Jenkins & Salesforce
 
Optimize wordpress
Optimize wordpressOptimize wordpress
Optimize wordpress
 
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
 
Web worker in your angular application
Web worker in your angular applicationWeb worker in your angular application
Web worker in your angular application
 
More Dev. Less Drama.pdf
More Dev. Less Drama.pdfMore Dev. Less Drama.pdf
More Dev. Less Drama.pdf
 
Administer WordPress with WP-CLI
Administer WordPress with WP-CLIAdminister WordPress with WP-CLI
Administer WordPress with WP-CLI
 
Vietnam Mobile Day 2013: How to build video streaming server in 15 mins
Vietnam Mobile Day 2013: How to build video streaming server in 15 minsVietnam Mobile Day 2013: How to build video streaming server in 15 mins
Vietnam Mobile Day 2013: How to build video streaming server in 15 mins
 
[Vietnam Mobile Day 2013] - How to build video streaming server in 15 minutes
[Vietnam Mobile Day 2013] - How to build video streaming server in 15 minutes[Vietnam Mobile Day 2013] - How to build video streaming server in 15 minutes
[Vietnam Mobile Day 2013] - How to build video streaming server in 15 minutes
 
Automating Post Exploitation with PowerShell
Automating Post Exploitation with PowerShellAutomating Post Exploitation with PowerShell
Automating Post Exploitation with PowerShell
 
WordPress Architecture for Tech-Savvy Managers
WordPress Architecture for Tech-Savvy ManagersWordPress Architecture for Tech-Savvy Managers
WordPress Architecture for Tech-Savvy Managers
 
Workshop On WP-CLI
Workshop On WP-CLIWorkshop On WP-CLI
Workshop On WP-CLI
 
Battling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleBattling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support Tale
 
2016 aRcTicCON - Hacking SQL Server on Scale with PowerShell (Slide Updates)
2016 aRcTicCON - Hacking SQL Server on Scale with PowerShell (Slide Updates)2016 aRcTicCON - Hacking SQL Server on Scale with PowerShell (Slide Updates)
2016 aRcTicCON - Hacking SQL Server on Scale with PowerShell (Slide Updates)
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Effortless WordPress: Mastering Project Prep with WP-CLI Automation

  • 1. Effortless WordPress: Mastering Project Prep with WP-CLI Automation By Makarand Mane @TeamWPGenius
  • 2. Makarand G. Mane Founder & Designated Partner @WPGenius Solutions LLP wpgenius.in @TeamWPGenius
  • 3. What we will do in next 30 min. 1. Intro 2. WP-CLI quick look 3. Common Repeated tasks 4. Let’s do some smart work 5. Q&A @TeamWPGenius
  • 5. WP : WordPress C : Command L : Line I : Interface @TeamWPGenius
  • 6. WP-CLI Quick look A set of command line tools that allows you to manage WordPress from the command line. You need to have SSH access to use WP-CLI. https://wp-cli.org/ @TeamWPGenius
  • 7. Who is this for Anyone really, but mostly: • Developers • Theme Designers • Server Administrators @TeamWPGenius
  • 8. WP-CLI Command Structure wp <command> <subcommand> --flag E.g. wp plugin install contact-form-7 --activate @TeamWPGenius
  • 9. Common Use Cases of WP CLI 1. Automated Plugin & Theme Management 2. Database Maintenance and Optimization 3. User Account Administration 4. Content Import and Export 5. Security and Backup Operations 6. Multisite Network Management 7. Media File Handling 8. Post and Page Creation (Creating dummy posts) 9. Child Theme Creation @TeamWPGenius
  • 10. Common issues can be solved with WP-CLI 1. Getting time out (502 gateway timeout) 2. Importing lot of data 3. Exporting lot of data with custom formats 4. Write your own command 5. & more… @TeamWPGenius
  • 11. My Day to Day routine tasks 1. Installing WordPress 2. Adding Astra theme 3. Create child theme & Pushing it to git repo. 4. Adding regularly used plugins 5. Configuring Licenses & Settings 6. Creating users 7. Removing default data 8. Import own default data 9. File manipulation & WP hardening @TeamWPGenius
  • 12. @TeamWPGenius Bar bar jis ko padta hai karana Usi ko aaj automate karana
  • 13.
  • 14. Live Demo from WPGenius @TeamWPGenius
  • 16. Thank you for giving me a chance to share my Thoughts … Lets Have Some Questions @TeamWPGenius