Introduces wp-cli

This commit is contained in:
Jonathan Rosenbaum 2025-06-14 22:13:17 +00:00
parent bad1d978cc
commit 5563b5a3b3

View File

@ -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
```
---