Introduces wp-cli
This commit is contained in:
parent
bad1d978cc
commit
5563b5a3b3
@ -150,11 +150,19 @@ Change to a different template. Perhaps the current one has broken the site?
|
|||||||
```sql
|
```sql
|
||||||
UPDATE wp_options SET option_value = 'twentytwentyfive' WHERE option_name = 'template';
|
UPDATE wp_options SET option_value = 'twentytwentyfive' WHERE option_name = 'template';
|
||||||
UPDATE wp_options SET option_value = 'twentytwentyfive' WHERE option_name = 'stylesheet';
|
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
|
Disable all plugins
|
||||||
```sql
|
```sql
|
||||||
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
|
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
docker compose exec wpcli_${COMPOSE_PROJECT_NAME} wp plugin deactivate --all
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user