Installation
Creating a new project
$ composer create-project metabolism/wordpress-skeleton my_project_directory
Or setting up an existing Symfony project
Define installation paths for Wordpress
Go to your project root and edit the composer.json file :
"minimum-stability": "dev",
...
"extra": {
"installer-paths": {
"public/wp-bundle/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"public/wp-bundle/plugins/{$name}/": ["type:wordpress-plugin"],
"public/wp-bundle/themes/{$name}/": ["type:wordpress-theme"],
"public/edition/": ["type:wordpress-core"]
}
}
Install the bundle
$ composer require metabolism/wordpress-bundle
Last updated
Was this helpful?