wearerequired / register-default-theme-directory
WordPress mu-plugin to register the theme directory for the default WordPress themes.
Installs: 27 986
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:wordpress-muplugin
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2024-11-10 06:59:17 UTC
README
When installing WordPress using Composer with a separated wp-content
directory, WordPress isn't automatically aware of the default themes inside the WordPress folder.
This package simply registers the theme directory with WordPress so you can use the default WordPress themes without hassle.
Installation
The package type is wordpress-muplugin
. Example of a composer.json
:
Example of a composer.json
for a site:
{ "name": "wearerequired/something", "description": "required.com", "license": "GPL-2.0-or-later", "authors": [ { "name": "required gmbh", "email": "info@required.ch" } ], "require": { "php": ">=5.6", "koodimonni/composer-dropin-installer": "dev-master", "johnpbloch/wordpress": "~4.9", "wearerequired/register-default-theme-directory": "^1.0" }, "extra": { "wordpress-install-dir": "wordpress/wp", "installer-paths": { "wordpress/content/plugins/{$name}/": [ "type:wordpress-plugin" ], "vendor/{$vendor}/{$name}/": [ "type:wordpress-muplugin" ], "wordpress/content/themes/{$name}/": [ "type:wordpress-theme" ] }, "dropin-paths": { "wordpress/content/mu-plugins/": [ "type:wordpress-muplugin" ] } }, "minimum-stability": "dev", "prefer-stable": true }