Skip to content

Commit 9d736a2

Browse files
authored
Merge pull request #402 from wp-cli/regenerate-readme
2 parents 0bf918b + 4ddc1ba commit 9d736a2

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ See the WordPress [Theme Handbook](https://developer.wordpress.org/themes/) deve
763763
Theme installed successfully.
764764
Activating 'twentysixteen'...
765765
Success: Switched to 'Twenty Sixteen' theme.
766+
Success: Installed 1 of 1 themes.
766767

767768
# Get details of an installed theme
768769
$ wp theme get twentysixteen --fields=name,title,version
@@ -987,6 +988,7 @@ wp theme install <theme|zip|url>... [--version=<version>] [--force] [--activate]
987988
Theme installed successfully.
988989
Activating 'twentysixteen'...
989990
Success: Switched to 'Twenty Sixteen' theme.
991+
Success: Installed 1 of 1 themes.
990992

991993
# Install from a local zip file
992994
$ wp theme install ../my-theme.zip
@@ -1072,22 +1074,22 @@ These fields will be displayed by default for each theme:
10721074
* update
10731075
* version
10741076
* update_version
1077+
* auto_update
10751078

10761079
These fields are optionally available:
10771080

10781081
* update_package
10791082
* update_id
10801083
* title
10811084
* description
1082-
* auto_update
10831085

10841086
**EXAMPLES**
10851087

1086-
# List themes
1088+
# List inactive themes.
10871089
$ wp theme list --status=inactive --format=csv
1088-
name,status,update,version,update_version
1089-
twentyfourteen,inactive,none,1.7,
1090-
twentysixteen,inactive,available,1.1,
1090+
name,status,update,version,update_version,auto_update
1091+
twentyfourteen,inactive,none,3.8,,off
1092+
twentysixteen,inactive,available,3.0,3.1,off
10911093

10921094

10931095

@@ -1103,7 +1105,7 @@ wp theme mod
11031105

11041106
# Set the 'background_color' theme mod to '000000'.
11051107
$ wp theme mod set background_color 000000
1106-
Success: Theme mod background_color set to 000000
1108+
Success: Theme mod background_color set to 000000.
11071109

11081110
# Get single theme mod in JSON format.
11091111
$ wp theme mod get background_color --format=json
@@ -1198,7 +1200,7 @@ wp theme mod set <mod> <value>
11981200

11991201
# Set theme mod
12001202
$ wp theme mod set background_color 000000
1201-
Success: Theme mod background_color set to 000000
1203+
Success: Theme mod background_color set to 000000.
12021204

12031205

12041206

0 commit comments

Comments
 (0)