ellifriends / wp-boilerplate
Standard WordPress layout for Elli & Friends projects
dev-master
2018-08-22 18:45 UTC
Requires
- php: ^7.1.3
- ellifriends/wp-ef-foundation: dev-master
- johnpbloch/wordpress: ^4.9.8
- oscarotero/env: ^1.1
- roots/soil: ^3.7
- roots/wp-password-bcrypt: ^1.0
- vlucas/phpdotenv: ^2.5
This package is not auto-updated.
Last update: 2025-03-30 08:12:27 UTC
README
Standard WordPress layout for Elli & Friends projects.
Setup instructions
composer create-project ellifriends/wp-boilerplate -s dev
Structure
| config # - WordPress and environment configurations | web # - Web root and WordPress content directory |--| app # - Application folder | |--| index.php # - WordPress view bootstrapper | | | mu-plugins # - Must use plugins | | | plugins # - Plugins | | | themes # - Themes | | | uploads # - Uploads | | wp # - WordPress core (never edit) | | wp-config.php # - Required by WordPress (never edit) | resources # - CSS and JavaScript pre-processors using Laravel Mix
Configuration
Modify environment configuration in .env
after your need.
Multisite URL fixer
Roots multisite-url-fixer mu-plugin on subdomain installs to make sure admin URLs function properly. That plugin is not needed on subdirectory installs, but will work well with them.
Run composer require roots/multisite-url-fixer
to install the package. It will automatically install as an mu-plugin thanks to the mu-plugins autoloader.
Documentations
License
MIT © Elli & Friends