From 5563b5a3b3d91614eb216fab96b1314af5046ea8 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sat, 14 Jun 2025 22:13:17 +0000 Subject: [PATCH] Introduces wp-cli --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e80389c..788792f 100644 --- a/README.md +++ b/README.md @@ -150,11 +150,19 @@ Change to a different template. Perhaps the current one has broken the site? ```sql UPDATE wp_options SET option_value = 'twentytwentyfive' WHERE option_name = 'template'; UPDATE wp_options SET option_value = 'twentytwentyfive' WHERE option_name = 'stylesheet'; + +or + +docker compose exec wpcli_${COMPOSE_PROJECT_NAME} wp theme activate twentytwentyfive ``` Disable all plugins ```sql UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins'; + +or + +docker compose exec wpcli_${COMPOSE_PROJECT_NAME} wp plugin deactivate --all ``` ---