Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Adv WP CLI
Search
Tom J Nowell
September 23, 2014
Technology
770
0
Share
Adv WP CLI
Advanced WP CLI talk for WP Leeds dev night
Tom J Nowell
September 23, 2014
More Decks by Tom J Nowell
See All by Tom J Nowell
Using Blocks Outside The Editor
tarendai
0
1.1k
Composer_and_WordPress__1_.pdf
tarendai
0
96
REST APIs for Absolute Beginners
tarendai
0
1k
VVV 2
tarendai
0
850
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
550
Escape From New York
tarendai
0
800
WP The Right Way
tarendai
0
1.1k
Code Deodorant 2014
tarendai
1
800
WP CLI
tarendai
0
740
Other Decks in Technology
See All in Technology
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
180
Dario Amodi『Policy on the AI Exponential』を理解する
nagatsu
0
160
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/3 - 2026/5
oracle4engineer
PRO
1
180
個人最適 から 全体最適 へ AI情報共有会・AIギルド・AI-DLC で進める カンリーの組織展開
rfdnxbro
0
1.4k
Djangoユーザが知っ得なPostgreSQL機能 - 設計の選択肢を増やす / Djang-use-PostgreSQL
soudai
PRO
0
170
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
360
ChatworkとBPaaS 異なる特性で学んだAI機能開発の ベストプラクティス
kubell_hr
2
2.6k
AI Testing Talks: Challenges of Applying AI in Software Testing: From Hype to Practical Use
exactpro
PRO
1
120
新規事業を牽引する技術選定 〜フルスタックTypeScript開発の実践事例〜
nullnull
3
320
JJUG CCC 2026 Spring AI時代の開発こそ標準化を武器に! ― 方式・プロセス・プラットフォームの標準化
s27watanabe
2
710
正解のないAIプロダクトをどう導くか?dodaが挑む、ユーザーの『本音』を構造化する評価設計と検証のリアル
techtekt
PRO
0
180
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Design in an AI World
tapps
1
220
Paper Plane (Part 1)
katiecoart
PRO
0
8.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
A Tale of Four Properties
chriscoyier
163
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
860
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
560
Making the Leap to Tech Lead
cromwellryan
135
9.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Unsuck your backbone
ammeep
672
58k
Transcript
Advanced WP CLI A WPLeeds talk by Tom J Nowell
I’m Tom J Nowell Code For The People
I’ll Cover • What is WP CLI • Some WP
CLI Commands & Usage • Demo
WP CLI WordPress, Command Line Interface A tool for terminal
users
What is The Terminal?
None
Once installed, open your WordPress folder on the terminal GIF
by Chris Coyier of CSS Tricks
Some of the Things WP CLI Can Do • Create
Posts • Create Users • Download plugins and themes • Database Queries • Installing WordPress
E.g. Adding an author to a site: ❯ wp user
create bob
[email protected]
--role=author
Listing activated plugins ❯ wp plugin list --status=active -- format=csv
--fields=name
Doing a Search replace ❯ wp search-replace oldsite.com newsite.com
List blogs, and their URLs in a multisite ❯ blogs=$(wp
site list --fields="site_id, blog_id,url" --format="csv") for entry in $blogs do site_id=$(echo $entry |cut -d ',' -f1 ) blog_id=$(echo $entry |cut -d ',' -f2 ) blog_url=$(echo $entry |cut -d ',' -f3 ) echo "$blog_id: $blog_url in $site_id" done
A demonstration
Questions? Tom J Nowell @tarendai tomjn.com