dotsunited / wordpress-boilerplate
WordPress Boilerplate
Requires
- composer/installers: ^1.4
- wpackagist-plugin/meta-box: ^5.6
Requires (Dev)
- roave/security-advisories: dev-master
- dev-master
- v13.4.0
- v13.3.0
- v13.2.0
- v13.1.0
- v13.0.1
- v13.0.0
- v12.0.1
- v12.0.0
- v11.6.0
- v11.5.8
- v11.5.7
- v11.5.6
- v11.5.5
- v11.5.4
- v11.5.3
- v11.5.2
- v11.5.1
- v11.5.0
- v11.4.0
- v11.3.0
- v11.2.2
- v11.2.1
- v11.2.0
- v11.1.1
- v11.1.0
- v11.0.2
- v11.0.1
- v11.0.0
- v10.3.5
- v10.3.4
- v10.3.3
- v10.3.2
- v10.3.1
- v10.3.0
- v10.2.4
- v10.2.3
- v10.2.2
- v10.2.1
- v10.2.0
- v10.1.9
- v10.1.8
- v10.1.7
- v10.1.6
- v10.1.5
- v10.1.4
- v10.1.3
- v10.1.2
- v10.1.1
- v10.1.0
- v10.0.2
- v9.1.1
- v9.1.0
- v9.0.0
- v8.0.0
- v8.0.0-rc2
- v8.0.0-rc1
- v7.0.1
- v7.0.0
- v6.1.0
- v6.0.2
- v6.0.1
- v6.0.0
- v5.2.1
- v5.2.0
- v5.1.0
- v5.0.0
- v4.0.0
- v3.2.0
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.0
- v1.3.1
- v1.3.0
- v1.0.0
- dev-snyk-upgrade-55d9f8992af601cf0abb4a3f46351033
This package is auto-updated.
Last update: 2024-03-15 19:26:18 UTC
README
A barebones, clean and minimalist WordPress Boilerplate, developed at Dots United as a foundation for modern, maintainable and lightning fast WordPress based projects.
Gutenberg ready.
A Demo is available here.
Features
- Maximum possible PageSpeed Insights score
- Webpack workflow
- Composer enabled
- Tailwindcss enabled
- Clean, maintainable and scalable project structure
- No bloat
Setup
Create new project with
composer create-project dotsunited/wordpress-boilerplate my-project
Docker
Adjust the docker-compose.yml to your needs using a docker-compose.override.yml
file (https://docs.docker.com/compose/extends/).
Multisite subfolders can be be configured by setting the WORDPRESS_MULTISITE_PATHS
environment variable to e.g. 2=blog2,3=blog3
, resulting in the following urls:
If nothing is set, the id of the corresponding blog will be used as a path, resulting in the following urls:
You can add a database dump with the filename dump.sql.gz
or dump.sql
which will be imported on the first run. A new user with the following credentials will be automatically added:
Username: `localAdmin`
Password: ´localPassword´
⚠️ Remember to remove or change the credentials in a production environment!
Start the docker containers with
docker composer up -d
Plugins
If you uncommented sentry lines in docker-compose.yml
install WP Sentry
Be careful when using plugins which depend on jQuery.
Gravity Forms for example will enqueue jquery once a form is embedded into a post or page.
In this case, you might include the form via an iFrame. You can use the gravity-forms-iframe plugin for easier integration.
Webfonts
It is recommended to use local webfonts and not from external CDN's like Google Fonts.
You can use google-webfonts-helper to download webfonts from Google Fonts.
License
Copyright (c) 2015-2023 Dots United GmbH. Released under the MIT license.