Last active
February 27, 2017 14:59
-
-
Save johnbillion/f590301d8643e585a0bab4d11a03ced2 to your computer and use it in GitHub Desktop.
Install all the "Popular" themes from WordPress.org using wp-cli and jq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wp-cli: http://wp-cli.org/ | |
# jq: https://stedolan.github.io/jq/ | |
curl "https://api.wordpress.org/themes/info/1.1/?action=query_themes&request%5Bbrowse%5D=popular" \ | |
| jq '.themes[] .slug' \ | |
| xargs wp theme install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment