Change type of package to wordpress-theme
If you set the package up to use a type of "wordpress-theme" and require composer/installers you can let composer install the theme to the "wp-content/themes" folder. Can be useful in wordpress sites using composer.
This commit is contained in:
parent
2743321cd1
commit
eb8210a9b1
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "holger1411/understrap",
|
"name": "holger1411/understrap",
|
||||||
"description": "Combines Automattic´s Underscores Starter Theme and Bootstrap 4",
|
"description": "Combines Automattic´s Underscores Starter Theme and Bootstrap 4",
|
||||||
"type": "library",
|
"type": "wordpress-theme",
|
||||||
"license": "GPL-2.0",
|
"license": "GPL-2.0",
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"require": {},
|
"require": {"composer/installers": "^1.5"},
|
||||||
"keywords": ["wordpress","theme","bootstrap"],
|
"keywords": ["wordpress","theme","bootstrap"],
|
||||||
"homepage": "https://github.com/holger1411/understrap"
|
"homepage": "https://github.com/holger1411/understrap"
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue